MemberPress: Send Tax (e.g. VAT) to Stripe

This code snippet will send the user’s VAT/TAX number to Stripe when that user registers for…

Remove unwanted checkout fields when all products are downloadable

With this snippet you can hide/remove default Woocommerce checkout fields when all products are downloadable

MemberPress: Unenrolled Course Shortcode

The code snippet registers a new shortcode: [mpcs-unenrolled-courses]. Adding this shortcode will display an unordered list…

MemberPress: Display Purchase Information With Shortcode

The code snippet registers a new shortcode: [purchase_info]. Adding this shortcode will display the latest MemberPress…

Google CMS

Mercy Addo
<10

Remove Specific Campaign Based on the Referral URL

document.addEventListener('om.Campaign.startShow', function(event) { if(document.referrer.search.indexOf('google.com') > 0) { // replace with the specific referral domain var optinCampaign…

om.Types.init

document.addEventListener('om.Types.init', function(event) { // The Campaign type. console.log(event.detail.Types.type); // The Campaign Type object (one of Floating,…

om.DisplayRules.afterRun

document.addEventListener('om.DisplayRules.afterRun', function(event) { var DisplayRules = event.detail.DisplayRules; var Campaign = event.detail.Campaign; if ( 'YOUR-CAMPAIGN-ID' === Campaign.id…

om.Action.close example 1

// Function SaveToDisk forces file download instead of viewing in browser function SaveToDisk(fileURL, fileName) { //…

trigger monsterlink on hover

jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; $('body').on('mouseover', '[href="https://app.monstercampaigns.com/c/'…

1 94 95 96 97 98 213