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…

Success view

#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }

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); } }

ACF - KEYSMST_ Case - Tab 8: Contact Log Staging Fields

/** * WPCode Snippet: MST Case - Tab 8: Contact Log Staging Fields * Description: Temporary…

ismail daugherty PRO
<10

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(…

1 47 48 49 50 51 125