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…

Google

G-T2XZDKK0J5

Paul Discher
<10

Gravity Forms Auto-populate Date

The purpose of this snippet is to calculate a date 90 days from today. That serves…

Dave Bayless
<10

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()

Colin Bunn PRO
<10

NSB News and Events Aggregator

// Include Simple HTML DOM parsing library if needed (you can also manually include it if…

bo pennington
<10

Untitled Snippet

// Disable Gutemberg add_filter( 'use_block_editor_for_post', '__return_false', 10 );

1 97 98 99 100 101 133