Restrict WordPress Admin Access by Country

Restrict access to wp-admin based on visitor country using Cloudflare's country header. Useful for agencies, membership…

Force account creation by cart total

Force account creation at checkout if the cart total is a certain amount and the quantity…

Prevent Discounts on Upgrades

Does not allow a discount code to be applied when an license upgrade is present in…

Disable IP Geo lookup service

That script is the one making the call to the geolocation endpoint, the rest of the…

Redirecting Vendors to Vendor Dashboard on Login

Snippet To Redirect Vendors to their Dashboard on login

Allow WooCommerce Shop Managers to manage vendors

/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…

Combined Date – Time Format (Sample: 16th January) | Display Eventbrite Events

The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…

Hiding Your Identity For Amazon SES Mailer Setup

This snippet will enhance privacy and domain restrictions using WP Mail SMTP with Amazon SES mailer.…

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 53 54 55 56 57 126