How to Display Store Credits Earned in WooCommerce New Order Emails

Add this to your "New Orders" email template from WooCommerce > Settings > Emails

om.Listeners.init

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

om.Form.init

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

om.Optin.error example

document.addEventListener('om.Optin.error', function(event) { const url = "http://optinmonster.com"; window.location.href = url; } );

CLEAN & MINIFY ASSETS

please work

Teddy James
<10

Slide Reposition Left Center v2

html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…

Post Shortcodes

estimated read time, breadcrumbs, related posts

defer-om-embed-wordpress.php

function your_prefix_om_defer_script( $campaign_embed ) { $campaign_embed = str_replace( 's.async=true;', 's.defer=true;', $campaign_embed ); return $campaign_embed; }; add_filter(…

Product Detail from External Source

function my_produkt_detail($ean, $field_path = '', $default = '') { static $cache = array(); try { if…

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…

Changing the WordPress Login Logo URL

function custom_login_logo_url() { return home_url(); // Or your desired URL } add_filter( 'login_headerurl', 'custom_login_logo_url' );

Untitled Snippet

RMLS popup

Glenda Davis
<10
1 … 214 215 216 217 218 … 240