How to Add Christmas Celebration Animation in WordPress Website
Add Christmas Snow Animation in WordPress Website
MFP > Deploy Show & Get Data
add_action('acf/save_post', 'add_show_children'); function add_show_children($post_id) { if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; if (!wp_is_post_revision($post_id) && 'show' ==…
MemberPress: Restrict Email Patterns for Specific Memberships
This code snippet prevents users with specific email patterns from registering for any of the specified…
modify woocommerce states list
Modyfiy Woocommerce state list to armenian towns villages or districts
MemberPress: Allow Users to Pause/Resume Subscriptions Only for Specific Memberships
For this code snippet to work, the Allow members to pause/resume their subscription option needs to…
MemberPress: Override VAT Tax for the UK
By default, UK is included in the list of VAT countries in MemberPress. Thus, when VAT…
How to Display Store Credits Earned in WooCommerce New Order Emails
Add this to your "New Orders" email template from WooCommerce > Settings > Emails
om.Listeners.init
document.addEventListener('om.Listeners.init', function(event) { console.log(event.detail.Listeners); console.log(event.detail.Campaign); } );
om.Form.init
document.addEventListener('om.Form.init', function(event) { console.log(event.detail.Form); console.log(event.detail.Campaign); } );
om.Optin.error example
document.addEventListener('om.Optin.error', function(event) { const url = "http://optinmonster.com"; window.location.href = url; } );
CLEAN & MINIFY ASSETS
please work