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…

Change site url

add_action('init', 'update_site_url_once'); function update_site_url_once() { if (get_option('home') !== 'https://amazingmarvin.com/blog/') { update_option('siteurl', 'https://amazingmarvin.com/blog/'); update_option('home', 'https://amazingmarvin.com/blog/'); } }

WooCommerce - Add min height to title

Used to help the shopping buttons align vertically when the title line wraps irregularly due to…

George Faerber PRO
<10

Remove Specific Campaign From Any URLs Containing a Specific URL Path

document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.search.indexOf('shopping-cart') > -1) { // replace shopping-cart wtih your specific URL path var…

om.Campaigns.init

document.addEventListener('om.Campaigns.init', function(event) { // This event is passed the Campaigns object console.log(event.detail.Campaigns); } );

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…

om-translate-copied.js

document.addEventListener('om.Main.init', function (evt) { var Strings = evt.detail._utils.strings; // Replace ¡Copiada! below with the text you…

Remove Specific Campaign Based on the Referral URL-v1

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

1 103 104 105 106 107 217