Defining Outlook Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

WP Simple Pay: Change Custom Amount Field Input Type

Changes the `type` attribute on the `input` tag. This helps some mobile keyboards have a better…

WP Simple Pay: BuddyBoss Preview Compatibility

Provides BuddyBoss preview function compatibility

om.Dtr.init

document.addEventListener('om.Dtr.init', function(event) { console.log(event.detail.Dtr); console.log(event.detail.Campaign); // Registers a custom `name` smart tag. event.detail.Dtr.setCustomVariable('name', 'Thomas'); } );

om.Countdown.init

document.addEventListener('om.Countdown.init', function(event) { console.log(event.detail.Countdown); console.log(event.detail.Campaign); } );

om.Analytics.impression

document.addEventListener('om.Analytics.impression', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…

To display your campaign language RTL

html div#om-{{id}} * { direction: rtl !important; unicode-bidi: bidi-override !important; }

om-translate-copied.js

document.addEventListener('om.Main.init', function (evt) { var Strings = evt.detail._utils.strings; // Replace ¡Copiada! below with the text you…

Fix Divi Post Content Width

Paste this directly into the post content module of the theme builder template.

Limit Revisions

/** * Limit WordPress revisions to 5 for all post types. */ add_filter('wp_revisions_to_keep', function ($num, $post)…

1 47 48 49 50 51 128