Customize Store Credit Accordion on Checkout Page
This snippet allows you to customize Store Credit Accordion on the Checkout Page
WooCommerce Local Pickup Date Field | WooCommerce Pickup Date
Adds a date picker to the checkout page when "Local Pickup" is selected. The selected pickup…
om.Listeners.init
document.addEventListener('om.Listeners.init', function(event) { console.log(event.detail.Listeners); console.log(event.detail.Campaign); } );
om.PoweredBy.init
document.addEventListener('om.PoweredBy.init', function(event) { console.log(event.detail.PoweredBy); console.log(event.detail.Campaign); } );
om.Optin.success example 2
document.addEventListener('om.Optin.success', function(event) { if( '{{id}}' !== event.detail.Campaign.id ) return; let url = 'https://www.google.com/'; // Update with…
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…
floating-monsterlink-2
Want to get 25,000 unique visitors a month? Click here to learn how
_MK - Last connection
// Enregistre la date de connexion de l'utilisateur function enregistrer_derniere_connexion($user_login, $user) { // Met à jour…
Normalize
Settings to normalize across browsers
Dölj admin-baren för prenumeranter
/** * 2) Dölj admin-baren för prenumeranter */ add_filter( 'show_admin_bar', function( $show ) { if (…
Prevent Powerpack Off Canvas from Breaking JavaScript loading
This prevents issues with Woo Block checkout loading credit card fields and other functionality breaking with…
ACF_KEYSMST_MSTCASECPT – TAB: CLINICAL ASSESSMENTS (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: CLINICAL ASSESSMENTS (v3.0 Modular) * ============================================ * *…