MemberPress: TaxJar - Prevent Sending VAT Transactions to TaxJar
When the MemberPress TaxJar integration is active, by default, MemberPress will send all transactions to TaxJar,…
MemberPress: Remove MemberPress Weekly Stats Widget from WordPress Dashboard
This code snippet removes the MemberPress Weekly Stats widget from the WordPress admin dashboard. This can…
rearrange shipping options
Login to cpanel. Choose “File Manager” Navigate to public_html>wp-includes>functions.php and select “Edit” Paste in the contents…
Block specific coupons during set hours
/** * Block specific coupons during set hours (1:00 PM - 3:00 PM) */ function block_coupon_during_specific_hours($valid,…
om.DisplayRules.init
document.addEventListener('om.DisplayRules.init', function(event) { console.log(event.detail.DisplayRules); // An array of the Ruleset objects console.log(event.detail.DisplayRules.rulesets); console.log(event.detail.Campaign); } );
om.Action.close
document.addEventListener('om.Action.close', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Revenue Attribution Exclude Campaign
document.addEventListener('om.Campaign.init', function(event) { if ('CAMPAIGN_ID' === event.detail.Campaign.id) { // replace CAMPAIGN_ID with the OptinMonster campaign's unique…
test
test
trigger spesific monsterlink on hover
jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; // When…
om-custom-redirect-close.js
jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ if(data.optin =…
css-namespace-footer.css
html div#om-{{id}} .{{ns}}-footer { /* Your custom styles */ }
Change "Bank Routing Number" fields to "Sort Code"
Use this code snippet to reformat the form to British banking details. Output: https://snipboard.io/mKSn9g.jpg Alternatively, you…