MemberPress: Auto-populate coupon on all registration forms
Use this code to automatically apply a specified coupon code to all of the website's MemberPress…
MemberPress: Send Failed Transaction Notice When Admin Sets Transaction to Failed
When a website administrator changes the member’s transaction status to Failed in the WordPress Dashboard >…
MemberPress: Redirect Users After Login Based on Roles
This code snippet customizes the login redirection in MemberPress based on user roles. Users with roles…
MemberPress: Disable MemberPress Protection On Specific Page
This snippet allows disabling the MemberPress protection (unprotect) on a specific page. The code snippets overrides…
MemberPress: Load All Currently Enqueued Styles In MemberPress Courses for S3MediaVault
By default, if the ReadyLaunch Courses/Lessons template is enabled, the MemberPress Courses add-on won’t enqueue 3rd-party…
MemberPress: Move Membership Content Below Product Table on Registration Page
By default, the membership content is displayed before (above) the list of the products added for…
MemberPress: Add Shortcode To Output the User’s Subscription Expiration Date
Adds the following shortcode: [mepr-sub-expiration membership=' ']. The shortcode will output the expiration date of the…
MemberPress: Expire Subscription Immediately After Subscription Is Canceled
By default, canceling subscriptions prevents future charges, but it does not end existing subscriptions, which allow…
MemberPress: Set UK Transactions VAT to 0
Once the VAT option is enabled at Dashboard > MemberPress > Settings > Taxes, MemberPress will…
MemberPress: Change Stripe Checkout fields to match Dark Mode theme
Adjust the appearance of Stripe Elements form by changing the theme to 'night' if a user…
MemberPress: TaxJar - Prevent Sending VAT Transactions to TaxJar
When the MemberPress TaxJar integration is active, by default, MemberPress will send all transactions to TaxJar,…
MemberPress: Change Stripe Payment Description
Change the Stripe payment descriptor for non-recurring payments.
MemberPress: Add a Shortcode To Display the Number of Total Downloads for All Files
Adds the following shortcode: [mepr-display-total-downloads]. When added to any page or post, the shortcode will display…
MemberPress: Change Courses Listing Page Link
This code snippet will replace the URL for built-in links to the default MemberPress Course Listings…
Hello
echo "hello World !";