MemberPress: Enabling Payment Receipt Email for Free Non-recurring Subscriptions
By default, MemberPress doesn’t send the payment receipt email for free non-recurring membership registrations. This code…
MemberPress: Generate Invoice Numbers for Zero Amount Transactions
This code snippet ensures invoice numbers are generated for transactions with zero amounts in MemberPress. By…
Divi Transparent menu above FullScreen Video
To make the top menu transparent and overlay the full-screen video background on your site, follow…
PRO DRIVERS PERSONAL EXERCISE HUB APP
THE SNIPPET IS CODING FOR AN APP ENTITLED PRO DRIVERS PERSONAL EXERCISE HUB. CREATED TO PROVIDE…
Reset Duplicator Pro capabilities
This snippet resets the Duplicator Pro capabilities. Insert it into the wp-config.php file, refresh the wp-admin…
om.Html.init
document.addEventListener('om.Html.init', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Rule.init
document.addEventListener('om.Rule.init', function(event) { console.log(event.detail.Rule); // The specific rule object. console.log(event.detail.Rule.rule); console.log(event.detail.Campaign); } );
om.Campaign.reset
document.addEventListener('om.Campaign.reset', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om external links monsterlink
(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'YOUR-UNIQUE-ID'; // Helper to get…
allow editors
add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_pages'; } );
Yes/No view
#om-{{id}}-yesno button.{{ns}}-CloseButton { /* Your Custom Styles */ }