om.Campaign.canLoad
document.addEventListener('om.Campaign.canLoad', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Campaign.close example
document.addEventListener('om.Campaign.close', function(event) { const url = "http://optinmonster.com"; window.location.href = url; } );
om.Action.close example 1
// Function SaveToDisk forces file download instead of viewing in browser function SaveToDisk(fileURL, fileName) { //…
Slide Reposition Right Center
html div#om-{{id}} { margin-right: -20px !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…
return true
return true;
Success view
#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }
Admin Privileges Being Returned
Admin Privileges Being Returned
Disabling the Admin Bar for Non-Admin Users
add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }
wwr parallax 2
test
ACF - KEYSMST_ Case - Tab 8: Contact Log Staging Fields
/** * WPCode Snippet: MST Case - Tab 8: Contact Log Staging Fields * Description: Temporary…
TICKET NUMBER
/** * Increment total entry number on each submission * * @link https://wpforms.com/developers/how-to-increment-a-count-on-each-form-submission */ function wpf_dev_update_total_field(…
Disable Search
Disable Search
Admin Bar - Updates (copy)
Show updates in Admin Bar