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); } );
snow
snip
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…
Countdown
Countdown
Untitled Snippet
https://www.profitableratecpm.com/j21q52779?key=7d81cedb29343293fc2d4f49efbe7f51
PHP - Custom login
// === CUSTOM LOGIN PAGE === add_action('login_enqueue_scripts', function () { echo ' '; }); // ===…
WPCode Admin Number of Snippets
Change the number of snippets displayed in the admin list using a filter.
GravityView_DIR_RAPI -Expose GravityView ACF Fields to REST API
* WPCode Snippet: Expose GravityView ACF Fields to REST API (MANUAL SYNC ONLY) * Description: Makes…