om.Html.init
document.addEventListener('om.Html.init', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Rule.init
document.addEventListener('om.Rule.init', function(event) { console.log(event.detail.Rule); // The specific rule object. console.log(event.detail.Rule.rule); console.log(event.detail.Campaign); } );
om.Campaign.reset
document.addEventListener('om.Campaign.reset', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
Slide Reposition Bottom Center v2
html div#om-{{id}} { width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important;…
Show and Save Custom Taxonomy On the Vendor Product Edit Form
This code snippet is for displaying and saving the custom product taxonomy (e.g., "product_brand" or "sizes")…
om-wp-plugin-load-in-head.php
// returning false will change the default location from footer to the head add_filter( 'optin_monster_api_loading_location', '__return_false'…
Convert headings to sentence case
If you like your headings in sentence case this works. No changes WP Database: if snippet…
Disable & Remove Login with GD button
Remove Login with GD
Studex CM Main Menu
function homelink(){ $homelink = 'Home'; return $homelink;} function shoplink() { return 'Shop';} function discoverlink() { $discoverlink…
Adds a username field to WC Vendors Signup and uses it when creating the user.
This feature adds a Username field to the WC Vendors signup form, allowing vendors to choose…
WPCODE_DIR_AC_RAPI - REST API Enhancements for WPCode Snippets Sync
* Description: Exposes wpcode_snippets_sync CPT fields via REST API for WhaleSync * Location: Run Everywhere *…