Custom Field Order on Venue Pages
Venue pages have a fixed field order and no filter to change it. This snippet replaces…
Unrestricted Admin Access
When a site is managed by multiple admins, limit unnecessary exposure of critical responsibilities.
test
// Show whether WP_DEBUG is enabled, as set in wp-config
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
Duplicate Post/Page Link
Duplicate posts, pages or any post type with 1-click by adding a duplicate link in...
Open External Link in New Tab in WordPress
PHP Snippet