Set State Field To Us States Dropdown With Default
Change the "State" field into a "Province" field.
Google Tag Manager
Google tag manager snippet (body)
MemberPress: Turn Off Auto-Rebill for Offline Gateway
Some integrations - like Mail Chimp - require auto-rebill to be stopped before they do their…
MemberPress: Hide the Cancel Subscription Option for the Set Number of Months
The code snippet will hide the Cancel option for a user’s subscriptions under the Subscriptions tab…
MemberPress: Adjust Column Width for MemberPress Access Column on Admin Pages
This snippet adds custom CSS to adjust the width of the Acess (mepr-access) column on the…
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
Disable Suggested Donation Description In Campaign (Legacy)
Add this to your theme's function.php file.
Change "City" To Town/City
Change the label of the"City" field into a "Town/City" field.
om.Styles.init
document.addEventListener('om.Styles.init', function(event) { console.log(event.detail.Styles); console.log(event.detail.Campaign); } );
om.Optin.success example 1
document.addEventListener('om.Optin.success', function(event) { event.detail.Campaign.startClose(); } );