MemberPress: Send Tax (e.g. VAT) to Stripe

This code snippet will send the user’s VAT/TAX number to Stripe when that user registers for…

Round Percent Donated To Whole Number

/** * Display percent donated as rounded whole number. * * @param string $return * @param…

Include Subscriptions in API

Include EDD Subscription payments in the /edd-api/sales endpoint

Failed login: Don't show if username is correct

If a user's login fails, don't tell them whether the username or password was incorrect

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…

wp-config

define( 'OPTINMONSTER_API_USER', 'your_username_here' ); define( 'OPTINMONSTER_API_KEY', 'your_key_here' );

iframe cover css

/* HTML link cover styles */ html div#om-{{id}} #iframeCover { display: block; height: 100%; width: 100%;…

Add vendor's details on customer's order email

Use this code snippet to add the following information to be included in the purchase email…

1 … 85 86 87 88 89 … 237