Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
After Checkout Event In WooCommerce
This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…
How to Customize the Rich Text Field TinyMCE Icons
/** * Customize Rich Text Field TinyMCE buttons for top toolbar. * * @link https://wpforms.com/developers/how-to-customize-the-rich-text-field-tinymce-icons/ */…
Hide product categories
Hides some categories that customers are not supposed to see.
Custom WooCommerce Status
This is how to create a custom Woocommerce Status while being able to use the "Mark…
Maintain+ Footer Credit
jQuery("footer").append(" Site managed by Maintain+ ")
Hide Specific Day From Opening Hours Output
This filter can be used to hide a specific day from Opening Hours output Replace 'Sunday'…
Change a currency symbol AMD to Դրամ
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
test
test
Add Subscriber to Segment
This snippet helps you add the push subscriber to the segment as per the action defined.
Current Year Shortcode
Adding the option to use the current year [year] shortcode on your website on any website,…
How to Change Google reCAPTCHA Language Settings
WPML support
Minify HTML
function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…