om.Campaign.canShow
document.addEventListener('om.Campaign.canShow', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Campaign.afterClose example
document.addEventListener('om.Campaign.afterClose', function(event) { if (event.detail.Campaign.id === "CAMPAIGN_ID") { // Add your own logic to play video…
Style Just OptinMonster Campaign Placeholders
html div#om-{{id}} ::-webkit-input-placeholder { color: #333 !important; } /* Chrome/Opera/Safari */ html div#om-{{id}} ::-moz-placeholder { color:…
Slide Reposition Left Center v2
html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…
trigger spesific monsterlink on hover
jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; // When…
change view optin
om{{id}}.changeView('optin');
Remove Specific Campaign From Any URLs Containing a Specific URL Path-v1
document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.search.indexOf('shopping-cart') > -1) { // replace shopping-cart wtih your specific URL path var…
Site Wide Header
add_filter('get_custom_logo', function($html) { // Only touch the header logo return preg_replace( '/]+)>/', '', // set to…
Core_Universal_Download Fix
/** * WPCode Snippet: Auto-Create .htaccess in Uploads Folder for Force Download * Description: Creates/updates .htaccess…
PHP-snippet: registratie lessen verwerken en AJAX endpoint
// Configuratie function get_parameters_36(): array { return [ "target_page_slug" => "lesrooster-evenemententeam-2025", "tablepress_table_id" => 36 ]; }…
Retroactive Lifetime Licenses
Mark all existing licenses for an EDD product as lifetime licenses.
Foodtruck
crée moi moi un plugin pour wordpress pour un foodtruck avec une commande pour fermer et…
Add order status to the commissions table export
/** * Add order status to the commissions table export */ function wcv_commission_export_columns( $columns ){ $columns['order_status']…