om.Campaigns.init

document.addEventListener('om.Campaigns.init', function(event) { // This event is passed the Campaigns object console.log(event.detail.Campaigns); } );

om.Campaign.canShow

document.addEventListener('om.Campaign.canShow', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );

om.Campaign.afterClose example

document.addEventListener('om.Campaign.afterClose', function(event) { if (event.detail.Campaign.id === "CAMPAIGN_ID") { // Add your own logic to play video…

Style Just OptinMonster Campaign Placeholders

html div#om-{{id}} ::-webkit-input-placeholder { color: #333 !important; } /* Chrome/Opera/Safari */ html div#om-{{id}} ::-moz-placeholder { color:…

Slide Reposition Left Center v2

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

allow editors

add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_pages'; } );

Untitled Snippet

<meta name="google-site-verification" content="dd3uXq84TzhHtU_Hb3LG5Lw0lrijOzL6AKE6A3ST1uM"

Set Background Color for Active Snippets (WPCode)

This code snippet sets a background color and adds a vertical activation bar to WPCode's code…

LifterLMS_DIR_AD_FPopulation - LifterLMS Course Sync - Detail Population Module

* PURPOSE: * - Hooks into main sync completion * - Populates comprehensive course data (lessons,…

ismail daugherty PRO
<10

webhook code example updated

{ "lead": { "email": "[email protected]", "ipAddress": "1.2.3.4", "referrer": "https://optinmonster.com/", "timestamp": 1699985224, "privacyConsent": true, "firstName": "Archie", "lastName":…

MST Case Container Initiate Case

* Called by Uncanny Automator via "Call a custom function/method" action * When Form 269 (MST…

ismail daugherty PRO
<10

Untitled Snippet

document.addEventListener('DOMContentLoaded', function () { document.querySelectorAll('.elementor-post__thumbnail__link').forEach(function(link) { link.setAttribute('target', '_blank'); link.setAttribute('rel', 'noopener noreferrer'); }); });

1 55 56 57 58 59 126