Limit Revisions
/** * Limit WordPress revisions to 5 for all post types. */ add_filter('wp_revisions_to_keep', function ($num, $post)…
ACF_KEYSMST_MSTCASECPT – TAB – ADMINISTRATIVE (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: ADMINISTRATIVE (v3.0 Modular) * ============================================ * * Purpose:…
WpPages_DIR_AD_SYNC – WordPress Pages Sync Engine
Description: Comprehensive sync functionality for pages with full content analysis * Location: Run Everywhere * Priority:…
Fully Disable Comments & Trackbacks (The "Nuclear" Option)
* Fully Disable Comments & Trackbacks (The "Nuclear" Option) * Optimized for performance and UI clarity.
Charitable: Force PayPal Legacy gateway
Overrides Charitable Pro 1.8.15+ PayPal tier detection at read-time so the legacy `paypal` gateway stays visible…
Custom Countries
Illustrates how to add a custom list of countries
Generate a virtual coupon when order is completed.
This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…
Disable PayPal for Multi-Item Checkout
Disables the PayPal gateway when the cart contains multiple items. PayPal disabled the ability to purchase…
How to change the store address country for all vendors
/** * Set the vendor's store country to us. */ function wcv_set_vendor_country() { if ( function_exists(…
Remove Subscriber from Segment
This snippet helps remove a push subscriber from a segment on the defined event.
Extra WordPress Filters in Pro (Do something with the age restriction display) | Display Eventbrite Events
Using this filter you can change the age restriction display. e.g. all_ages by default displays nothing,…
Blocks on templates
Setting a specific block on specific templates by default