WWQ - Hide Add to Quote button from regular customers
add_filter( 'wws_wq_quote_button_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_cart_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_checkout_html', 'wwq_restrict_quote_button_to_wholesale' ); function wwq_restrict_quote_button_to_wholesale( $button_html )…
CSS Hide regular price
.original-computed-price ins:first-of-type{ display:none; }
ACFW - Fix for fatal error on Add products tab with permanently deleted products
$guard = function( $add_products ) { if ( ! is_array( $add_products ) ) { return $add_products;…
Add a video field to the sign-up form
// Add the video field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_video_uploader'); function wcv_video_uploader( ){ //…
Force product type for all products
// Disable the product type drop down. add_filter('wcv_disable_product_type', function() { return true; } ); /** *…
mobile sticky menu chatgpt css
/* Reset some default styles */ body, h1, ul { margin: 0; padding: 0; } /*…
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
Hide the ‘Screen Options’ Tab on admin bar
Remove the Screen Options menu at the top of the admin bar.