OM-revenue-attribution-curl.sh
curl --request POST \ --url https://app.optinmonster.com/v2/revenue \ --header 'Content-Type: application/json' \ --header 'Origin: optinmonster.com' \ --header…
Replace Special Characters in Post Title
Replace special characters in Post Title with correct HTML entity
WooCommerce Programmatically Cancel Pending Orders After 1 Hour
Post More Detail It’s possible that you’re thinking, “But I can already do that using the…
woo orders page Whatsapp DM from mac app
// Modify the columns and ensure WhatsApp column appears last function add_whatsapp_column($columns) { // Remove WhatsApp…
DJ ANIMATIONS MUSICALES
Animation musicales des soirées privées et publiques
Remove Specific Campaign From Any URLs Containing a Specific URL Path
document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.search.indexOf('shopping-cart') > -1) { // replace shopping-cart wtih your specific URL path var…
om.Campaign.normalize
document.addEventListener('om.Campaign.normalize', function(event) { console.log(event.detail.Campaign); } );
om.Campaign.afterShow
document.addEventListener('om.Campaign.afterShow', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Action.redirect
document.addEventListener('om.Action.redirect', function(event) { console.log("Redirect in progress..."); } );
Slide Reposition Top Right
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
Add Custom Attributes and Group Them
// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…
om-custom-redirect-close.js
jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ if(data.optin =…