Untitled Snippet
function remove_my_action() { remove_action('wp_head', 'et_add_viewport_meta'); } function custom_et_add_viewport_meta(){ echo ''; } add_action( 'init', 'remove_my_action'); add_action( 'wp_head',…
Show Terms By Default
Show the terms of agreement open on the checkout page by default
Meta Pixel - InitiateCheckout Event
Meta Pixel - InitiateCheckout Event
Prevent Wholesale Customer to Add Product to the Cart If The Product is Low on Stock
// Prevent wholesale customer to add to cart if the product is low on stock add_filter('woocommerce_is_purchasable',…
Remove the "Apply to become a vendor" checkbox from the WooCommerce default customer signup form
/** * Remove WC Vendors "Apply to become a vendor" checkbox from the WooCommerce default customer…
Force Minimum Password Length at Checkout
Force a minimum password length when a customer creates an account at checkout
AffiliateWP Network Stats Shortcode
Adds an [affwp_network_stats] shortcode with type and status attributes to display individual network metrics for JetEngine…
Reverse variable pricing
Great for when you've added variable prices lowest to highest but want to show highest to…
WWPP - Restrict add-to-cart on specific products to a specific wholesale role only
How to use and configure this snippet: 1. Set your exact Role Key: In the snippet,…
WWPP - Exclude products from Cart Subtotal Price Discounts if they have an individual price or belong to a specific category
/** * Recalculate the cart subtotal discount to exclude products that: * - belong to a…
Prevent Publishing Posts with Broken Internal Links
Checks all internal links within post content before publishing. If a linked page or post returns…