Event Use
document.addEventListener('EVENT NAME', function(event) {} );
om.Group.init
document.addEventListener('om.Group.init', function(event) { console.log(event.detail.Group); // An array of the Rule objects console.log(event.detail.Group.rules); console.log(event.detail.Campaign); } );
om.Styles.positionPopup
document.addEventListener('om.Styles.positionPopup', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Slide Reposition Bottom Center v2
html div#om-{{id}} { width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important;…
add filter
add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_pages'; } );
conversion a element
Check out OptinMonster!
Remove All Campaigns From a Specific URL-v1
document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…
LifterLMS_DIR_AD_FPopulation - LifterLMS Course Sync - Detail Population Module
* PURPOSE: * - Hooks into main sync completion * - Populates comprehensive course data (lessons,…
GravityForms_DIR_AC_SYNC - Gravity Forms & Feeds Sync Engine
* Description: Manual sync functionality for forms and their feeds * Location: Run Everywhere * Priority:…
Shop Manager - View Only.js
Creates a Shop Manager - View Only role that can view the backend, but cannot edit…
WPBakery Collapse All Rows
Adds Collapse / Expand All Rows in WP Bakery Builder + Ave WP Theme
CSS Hide regular price
.original-computed-price ins:first-of-type{ display:none; }
Untitled Snippet
custom events , running more than one function