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…

<10

om-custom-redirect-all-close.js

jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ omRedirect(); });…

css-namespace-footer.css

html div#om-{{id}} .{{ns}}-footer { /* Your custom styles */ }

Disabling the Admin Bar for Non-Admin Users

add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }

ACF - KEYSMST_ Case - Tab 8: Contact Log Staging Fields

/** * WPCode Snippet: MST Case - Tab 8: Contact Log Staging Fields * Description: Temporary…

ismail daugherty PRO
<10

TICKET NUMBER

/** * Increment total entry number on each submission * * @link https://wpforms.com/developers/how-to-increment-a-count-on-each-form-submission */ function wpf_dev_update_total_field(…

Show User ID

List user ID column after username on admin user table.

1 63 64 65 66 67 128