WPForms: hide certain sections on a single entry page: notes, log, debug, meta, payment, actions, related, geolocation.
This code removes all sections on a single entry page in the admin area. Method names…
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…
Restrict Dashboard Summary Widget
Prevent specific users (by user ID) from seeing the Easy Digital Downloads Sales Summary widget.
Non-required Card State
Makes the cart state a non-required field when present
Show login form for logged out users
Shows the [edd_login] form on restricted content for logged out users.
Genesis theme - use block editor in widgets
//* Genesis Enable the block-based widget editor add_filter( 'use_widgets_block_editor', '__return_true' );
Add a custom column to Commission table
/** * Add custom columns label * * @param Array $columns array stored column names *…
Change product edit tab order
Manually Sort
Hide SALE! Badges
/*Hide WooCommerce SALES Badges*/ .woocommerce span.onsale { display: none; } /*Hide SALES Badges in home page…
How to Disable Comments on Event Posts? | Quick Event Manager
This code snippet is designed to automatically disable comments for event post types generated via the…
Event URL (Simple Usage) | Display Eventbrite Events
This filter allows you to adjust the event URL. This is primarily so you can add…
Filter Music Promoter Age Restriction | Display Eventbrite Events
For Eventbrite music promoters only. Age restriction text is displayed unless it is set in Eventbrite…
Blocks on templates
Setting a specific block on specific templates by default