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.Lock.init

document.addEventListener('om.Lock.init', function(event) { console.log(event.detail.Lock); // The method that will be used for locking the content. console.log(event.detail.Lock.method);…

om.PoweredBy.init

document.addEventListener('om.PoweredBy.init', function(event) { console.log(event.detail.PoweredBy); console.log(event.detail.Campaign); } );

om.Optin.success

document.addEventListener('om.Optin.success', 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 87 88 89 90 91 219