Add category to page
// Abilita categorie (e, opzionalmente, tag) per le Pagine add_action('init', function () { register_taxonomy_for_object_type('category', 'page'); //…
Prevent Tasty Links inside Tasty Recipes
Prefer to keep your recipe cards clear of automatic links from your Tasty Links keywords? No…
Change the "Add to Cart" Button Text
Change Add to cart and Buy now buttons
ACF_KEYSMST_MSTCASECPT – TAB: TREATMENT PROGRESS (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: TREATMENT PROGRESS (v3.0 Modular) * ============================================ * *…
Vimeo Autoplay Unmute (Homepage)
document.addEventListener("click", function () { const iframe = document.querySelector("iframe[src*='vimeo.com']"); if (!iframe) return; iframe.contentWindow.postMessage( JSON.stringify({ method: "setVolume", value:…
WPCode Snippet: Download All Snippets Button
* Description: Adds bulk download button to WPCode Snippets Sync admin page * Location: Admin Only…
Show Terms By Default
Show the terms of agreement open on the checkout page by default
Donation Fee Radio Field
/** * 1. Register the Required Yes/No Radio Field */ add_action( 'init', function() { if (…
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',…