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…

Coded Options Page

Coded Options Page 1️⃣ Admin Menüpunkt für die globale Einstellungsseite hinzufügen 2️⃣ Inhalt der Einstellungsseite mit…

Disable Admin Notices WordPress

Completely removes all admin notices from the WordPress dashboard, * including core WordPress notices and those…

MemberPress: Classic Editor Fix for Courses

This code snippet will enable the default (Gutenberg) Block editor for MemberPress Courses in cases where…

MemberPress: WP Forms Pro - Fix Custom Phone Number Field

When a custom phone number field is added to the MemberPress membership registration forms, WP Forms…

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

1 … 106 107 108 109 110 … 243