JP_Wp_Snippets
All different snippets I have been using
Untitled Snippet
wordpress $ cd wp-content wp-content $ cd plugins plugins $ mkdir plugin-name plugins $ cd plugin-name…
G-T2XZDKK0J5
Gravity Forms Auto-populate Date
The purpose of this snippet is to calculate a date 90 days from today. That serves…
om.Dtr.init.js
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'); } );
Check URL for Braze UUID
Check URL for Braze UUID, if exists call braze.changeuser()
NSB News and Events Aggregator
// Include Simple HTML DOM parsing library if needed (you can also manually include it if…
Untitled Snippet
// Disable Gutemberg add_filter( 'use_block_editor_for_post', '__return_false', 10 );