om.Sites.init
document.addEventListener('om.Sites.init', function(event) { console.log(event.detail.Sites); // An array of all the Site objects associated to this campaign.…
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); } );
Una plant Quiz Score Calculator
/** * Author: Sumaiya, Clickup Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22535/12y1dr-25375 * Function to handle quiz submission, calculate results based…
om.Action.refresh
document.addEventListener('om.Action.refresh', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
disable webfonts for a spesific campaign
document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; if ({slug} === campaign.id) { campaign.settings.preload = false; }…
allow authors
add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'publish_posts'; } );
Success view
#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }
Feed Generation Cron Script
This file will be used to run via cron and update feed based on the ID
Disable Search
Disable Search
Changing the WordPress Login Logo URL
function custom_login_logo_url() { return home_url(); // Or your desired URL } add_filter( 'login_headerurl', 'custom_login_logo_url' );