Buy with Prime
add_action( ‘woocommerce_after_add_to_cart_form’, ‘QL_add_text_under_add_to_cart’ ); function QL_add_text_under_add_to_cart () { global $product; ?>
Change "Email" On Donation Form
This will change wording on the donation form for the "Email" field, although this snippet can…
MemberPress: Update MemberPress Account Course Tab Link With A Custom URL
This code snippet customizes the default URL of the Courses tab link in the navigation menu…
MemberPress: Disable MemberPress Protection Based on Custom Post Type And Tag
This code snippet disables content protection for specific post types that are also tagged with a…
Retrieve Card Details from Stripe Checkout One-Time Payments
This snippet ensures that the last four digits and card brand are available in payment confirmations…
MemebrPress: Send Membership-Specific Welcome Email Only When Transaction Is Completed
The code snippet will allow the membership-specific welcome email to be triggered only following the successful…
Remove field checkout WooCommerce
Remove field checkout WooCommerce
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'; } );
Optin View
#om-{{id}}-optin button.{{ns}}-CloseButton { /* Your Custom Styles */ }