MemberPress: Update MemberPress Account Course Tab Link With A Custom URL

This code snippet customizes the default URL of the Courses tab link in the navigation menu…

MemberPress: Disable MemberPress Protection Based on Custom Post Type And Tag

This code snippet disables content protection for specific post types that are also tagged with a…

MemberPress: Change Email Subject in Bulk

The code snippet replaces email subject on all emails containing a specified phrase in the current…

Webchat

Vikram Jethwani
<10

Retrieve Card Details from Stripe Checkout One-Time Payments

This snippet ensures that the last four digits and card brand are available in payment confirmations…

MemebrPress: Send Membership-Specific Welcome Email Only When Transaction Is Completed

The code snippet will allow the membership-specific welcome email to be triggered only following the successful…

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

_MK - SECURITY - Block Author Enumeration

// 🔒 Block ?author=1 user enumeration attempts add_action('init', function () { if (!is_admin() && isset($_GET['author'])) {…

<10
1 115 116 117 118 119 212