Current Year Shortcode
Adding the option to use the current year [year] shortcode on your website on any website,…
MemberPress: Show MemberPress Account Page Navigation Menu on Any Page
The code snippet will register the [mepr-account-nav-menu] shortcode once added to the website. Adding the shortcode…
MemberPress: Send Password Reset Email After Subscription Signup
This code can be used to trigger the reset password email to users automatically after users…
Donation Form Email Check
If you need to do manual validation of an email when a donation is being submitted…
Sample Email Template Tag (copy)
This is an example of how to register a new email template tag for EDD as…
Tyler Hall Tech Custom Snippets
All the Goodies
Change Accepted Countries Per Campaign
This example shows how to change the accepted countries list on a per-campaign basis.
Set Campaign Thumbnail Size
Set campaign thumbnails to have the same size.
MemberPress: Remove State Text Field
Removes the state text field from the registration and account pages if the country does not…
Allow ICO Files Upload
Enable ICO File Uploads on your WordPress website with this PHP code snippet.
MemberPress: Exclude Posts, Pages, Categories, or Tags from PayWall
Exclude specific posts, pages, categories, or tags from being viewed with the PayWall free views.
Change a license activation limit prgramatically.
This snippet is an example of changing the activation limit on a license key based on…
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…