MemberPress: Add a Shortcode To Display the Number of Total Downloads for All Files

Adds the following shortcode: [mepr-display-total-downloads]. When added to any page or post, the shortcode will display…

Sarge

This snippet is the script for Sarge webchat to pop up

MemberPress: Disable Reminders if a Member has Any Active Subscription

MemberPress reminders are triggered by each individual subscription. Thus, reminders will be automatically triggered by for…

Custom Separator

This code creates a custom separator smart tag for OptinMonster, which determines whether to use ?…

woo orders page Whatsapp DM from mac app

// Modify the columns and ensure WhatsApp column appears last function add_whatsapp_column($columns) { // Remove WhatsApp…

alliia snippet

william Wenger
<10

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…

1 80 81 82 83 84 217