Remove Specific Campaign From a Specific URL
document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…
om.Campaign.init remove video
document.addEventListener('om.Campaign.init', function(event) { // Add your own logic here to check if a video is playing…
om.Campaign.load example
document.addEventListener('om.Campaign.load', function(event) { console.log("Congratulations! The " + event.detail.Campaign.id + '-' + event.detail.Campaign.type + " optin has…
om.Action.redirect
document.addEventListener('om.Action.redirect', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Slide Reposition Bottom Center
html div#om-{{id}} { width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important;…
Add Unified Product SKU with ID for Facebook Feed || WPML || PFE
function adt_wpml_unified_product_sku_id( $product_data, $feed, $product ) { // Check if the feed is for Facebook dynamic…
om trigger close a element
Click to close!
om-translate-copied.js
document.addEventListener('om.Main.init', function (evt) { var Strings = evt.detail._utils.strings; // Replace ¡Copiada! below with the text you…
Code
Service
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) * ============================================ * *…
Test snippet
This a test snippet
Delete Pending Donations
This script properly deletes all pending donations using WordPress functions ensuring all hooks fire and related…
gill-container-tracking.php
gill-container-tracking.php