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 =…
Gravitar Fix
add_filter('get_avatar', function($avatar_html, $id_or_email, $size) { // Force width/height attributes to match the requested avatar size $size…
GravityForms_DIR_AB_ACF - Gravity Forms & Feeds ACF Fields
* Description: Registers ACF fields for form and feed data + notification/confirmation content * Location: Run…
reunik1
increase limit
Property Type Conditional Search Fields
jQuery(document).ready(function($) { // ============================================ // FIELD VISIBILITY BASED ON PROPERTY TYPE // ============================================ // All conditional…
Remove "mail.readwrite" Scope for the Outlook Mailer (copy)
This snippet removes the `mail.readwrite` scope from the WP Mail SMTP plugin Outlook provider.
Form action onSubmit
First Name Email Address