Minify HTML

function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…

Conditionally disable Cloudflare Turnstile

This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…

<10

Do On Complete

Execute code whenever an EDD purchase is complete.

Digital Store Theme - Latest Downloads Number

Changes the number of downloads displayed in the latest downloads section of the store front template.

After Checkout Event In WooCommerce

This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…

add 2 nos

function addNumbers() { // Get input values const num1 = parseFloat(document.getElementById('num1').value); const num2 = parseFloat(document.getElementById('num2').value); //…

Unique Order ID

Creates a unique order ID

Move Campaign Summary Below Content

Move the campaign summary block (funds raised, number of donors, etc) to below the extended description…

Maintain+ Footer Credit

jQuery("footer").append(" Site managed by Maintain+ ")

Adds URL to pages window

add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…

Exibe preços (Parcelado e com desconto a vista), na página do produto e no looping do produto.

Esse Snippet permite adicionar simulação de descontos e parcelamento aos preços exibidos no looping do produto…

REMOVE PRODUCT LINKS FROM YOUR SHOPPING CART

add_filter( 'woocommerce_cart_item_permalink', 'custom_remove_cart_product_link', 10 ); function custom_remove_cart_product_link() { return __return_null(); }

1 62 63 64 65 66 214