Insert User Status and EN-ID into localStorage (for Jason)
add_action('wp_head', 'output_auth0_user_id_meta'); function output_auth0_user_id_meta() { $script = ""; echo $script; }
om.DisplayRules.init
document.addEventListener('om.DisplayRules.init', function(event) { console.log(event.detail.DisplayRules); // An array of the Ruleset objects console.log(event.detail.DisplayRules.rulesets); console.log(event.detail.Campaign); } );
om.Action.window
document.addEventListener('om.Action.window', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Slide Reposition Left Center
html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…
wp-config
define( 'OPTINMONSTER_API_USER', 'your_username_here' ); define( 'OPTINMONSTER_API_KEY', 'your_key_here' );
Yes/No view
#om-{{id}}-yesno button.{{ns}}-CloseButton { /* Your Custom Styles */ }
plain-css.css
html div#om-{{id}} * { /* Anything inside here will be applied to all elements within your…
Limit Revisions
/** * Limit WordPress revisions to 5 for all post types. */ add_filter('wp_revisions_to_keep', function ($num, $post)…
ACF_KEYSMST_MSTCASECPT – TAB – ADMINISTRATIVE (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: ADMINISTRATIVE (v3.0 Modular) * ============================================ * * Purpose:…
WpPages_DIR_AD_SYNC – WordPress Pages Sync Engine
Description: Comprehensive sync functionality for pages with full content analysis * Location: Run Everywhere * Priority:…
Fully Disable Comments & Trackbacks (The "Nuclear" Option)
* Fully Disable Comments & Trackbacks (The "Nuclear" Option) * Optimized for performance and UI clarity.
AIOSEO Movie Poster Integration – TMDb & ACF Compatibility Fix [for the fmovie theme by fr0zen]
This snippet overrides AIOSEO's default image with the TMDb movie poster stored in the ACF 'poster_path'…
Ensure Webfont is Loaded (non-Elementor)
function custom_font_display( $current_value, $font_family, $data ) { return 'swap'; } add_filter( 'font_display', 'custom_font_display', 10, 3 );