om.Html.inlineScripts
document.addEventListener('om.Html.inlineScripts', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } )
om.Action.redirect
document.addEventListener('om.Action.redirect', function(event) { console.log("Redirect in progress..."); } );
Slide Reposition Top Right
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
Add Custom Attributes and Group Them
// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…
om-custom-redirect-close.js
jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ if(data.optin =…
css-example.css
html div#om-{{id}} [class$="-form"] { /* Your custom styles */ }
ACF_KEYSMST_MSTCASECPT – TAB - OUTCOMES & DISCHARGE (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: OUTCOMES & DISCHARGE (v3.0 Modular) * ============================================ *…
WpPages_DIR_AC_RAPI - Expose WordPress Pages Sync ACF Fields to REST API
* Description: Makes WordPress Pages data accessible via Application Password authentication * Location: Run Everywhere *…
Disable Unused Auto-Generated Image Sizes
* Disable Unused Auto-Generated Image Sizes * Optimized for AWS Storage savings & Performance.
Remove ISO 4217 for Google Feeds
// Force localization for all feeds add_filter('adt_product_feed_localize_price_args', function($args) { $args['decimal_separator'] = '.'; $args['thousand_separator'] = ','; return…