MemberPress: Dynamic Trial Periods
This code snippet will set the renewal date of all subscriptions to the specific yearly recurring…
Woo - euroteken weghalen
function avia_remove_wc_currency_symbol( $currency_symbol, $currency ) { $currency_symbol = ''; if ( is_cart() || is_checkout() || is_wc_endpoint_url('order-received'))…
wwolf
www.wwolf.com
woo orders page Whatsapp DM from mac app
// Modify the columns and ensure WhatsApp column appears last function add_whatsapp_column($columns) { // Remove WhatsApp…
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…
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…
test
test
trigger spesific monsterlink on hover
jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; // When…