Enable Full WP_Editor on Product Fields
add_filter( 'wcv_product_description_editor_settings', 'wcv_full_editor' ); add_filter( 'wcv_product_short_description_editor_settings', 'wcv_full_editor' ); function wcv_full_editor( $settings ){ $settings['teeny'] = false; return…
Main Page
Star system Main Page.
Google Analytics
Tracking Script
MemberPress: Add Thumbnail Support for MP Downloads
By default, the MemberPress Downloads add-on doesn't support thumbnails or featured images for downloadable files. This…
Buy Now Button - Variation
add_filter( 'gettext', 'customizing_product_variation_message', 10, 3 ); function customizing_product_variation_message( $translated_text, $untranslated_text, $domain ) { if ($untranslated_text ==…
Alter Payment List Quick Actions
Remove the 'Delete' option from the Payment List Quick Action
Modify User Role on Checkout
Modify the user role that is given to users that register during checkout
Remove Order Notes in checkout page
/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…
After Checkout Event In WooCommerce
This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…
Defer or Async CSS Loading
Defer or Async CSS Loading
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…
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.