Basic WP escaping functions

// ❌ Don't use _e(), __(), _x() etc. to output data // ✅ Use the escaped…

Filter the message generated for admin confirmation | Quick Event Manager

add_filter('qem_registration_email_message',,,3); This filters allows you to adjust the confirmation email to the admin / organiser (…

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…

MemberPress: Extend Grace Period for Renewals

Adding this code will extend the grace period for renewals (default is 0). Change the number…

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
1 … 115 116 117 118 119 … 242