WPForms: add field description in notification HTML and plain text emails

With this snippet, you can add a field description in notification emails that are sent to…

Disable Unused Auto-Generated Image Sizes

* Disable Unused Auto-Generated Image Sizes * Optimized for AWS Storage savings & Performance.

Register New Users as Customers

Register New Users as Customers

Remove the coupon section for orders that did not use any coupon.

add_action( 'woocommerce_email_before_order_table', 'conditionally_remove_coupon_section_from_email', 5, 4 ); function conditionally_remove_coupon_section_from_email( $order, $sent_to_admin, $plain_text, $email ) { if (…

Download Archive Menu Item

Displays the download archive link in the "View All" tab of the "Pages" menu items meta…

Delete Double Logo At Checkout

/** * ============================================================ * Hide Duplicate Astra Header on Checkout * ============================================================ * * PURPOSE: Hides…

Dustin Lavoie
<10

Only count last file

This plugin makes it so that All Access only increments the download counter if the customer…

Yootheme Consent - Scroll block

/* When the consent banner is present, lock the viewport */ html:has(.tm-consent), body:has(.tm-consent) { overflow: hidden…

Reinhard Ekker
<10

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; }

Add an audio field to the sign up form

// Add the audio field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_audio_uploader'); function wcv_audio_uploader( ){ //…

Change the sold by label on the product archive

// Unhook WC Vendors method remove_action( 'woocommerce_after_shop_loop_item', array('WCV_Vendor_Shop', 'template_loop_sold_by'), 9 ); // Define new sold by…

1 139 140 141 142 143 224