MemberPress: Redirect Users After Login Based on Roles
This code snippet customizes the login redirection in MemberPress based on user roles. Users with roles…
Remove "No Reviews" label if there are not reviews in Tasty Recipes
Remove "No Reviews" label if there are not reviews in Tasty Recipes
Woo Products Limit For Admin
Prevent Admin from Adding More Than 10 Products
Change Cancel Page URL For Paypal
This should redirect a donor to a custom URL after a donor clicks 'cancel' on Paypal's…
Search Atlas
SEO Optimization
Play/Pause button CSS
/* play/pause for homepage background video */ .video-controls { position: absolute; bottom: 20px; right: 20px; z-index:…
MemberPress: Export a CSV File for All Corporate Accounts with Subaccounts in MemberPress
This code snippet creates an export tool for MemberPress Corporate Accounts, allowing administrators to generate a…
DJ ANIMATIONS MUSICALES
Animation musicales des soirées privées et publiques
Restrict payment methods based on cart total
Restrict payment methods based on cart total
Database connection test snippet
A snippet to test the connection to the database.
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.Action.init
document.addEventListener('om.Action.init', function(event) { console.log(event.detail.Action); console.log(event.detail.Campaign); } );
om.Analytics.track
document.addEventListener('om.Analytics.track', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Property Analyzer Demo
// Add Property Analyzer Demo to WordPress function addPropertyAnalyzerDemo() { // Only add on homepage or…
Remove Express Checkout Button for Wholesale Users
Removes the Apple Pay and Google Pay buttons for Wholesale Users