Buy Now Button - Variation
add_filter( 'gettext', 'customizing_product_variation_message', 10, 3 ); function customizing_product_variation_message( $translated_text, $untranslated_text, $domain ) { if ($untranslated_text ==…
MemberPress: Remove State Text Field
Removes the state text field from the registration and account pages if the country does not…
MemberPress: Hide Protected Posts from Search Results
Hide any posts that the current user (or guest) does not have access to from search…
MemberPress: Remove all but one country from the drop-down
Removes all the countries for the drop-down list on the account and registration pages and leaves…
MemberPress: Disable Admin Password Lost/Changed Email
Disable the MemberPress Admin email notification for password lost/changed.
MemberPress: Exclude Posts, Pages, Categories, or Tags from PayWall
Exclude specific posts, pages, categories, or tags from being viewed with the PayWall free views.
MemberPress: Add a description to Order Bumps on the registration page
In this example, a description is added to an Order Bump with a membership ID of…
MemberPress: Display Account Tabs Anywhere
This code registers a new shortcode: [mepr-account-links]. This shortcode can be used anywhere to display the…
MemberPress: Extend the Grace Period
This will extend the default 1-day grace period for subscriptions. The code needs to be adjusted…
MemberPress: Disable the Default WordPress Password Reset Link E-Mail
If the "Disable Password Fields on membership registration forms" option is active in MemberPress settings (Dashboard…
MemberPress: Export Account Type in CSV
Add the following code to add a new CSV export option for Corporate Accounts that includes…
MemberPress: Changes Product Image on the Checkout Page
This code snippet changes the product image on the checkout page in MemberPress. By default, MemberPress…
MemberPress: Change the “Username or E-mail” label on login form
This code changes the “Username or Email” field label on the MemberPress login page. Note: this…
MemberPress: Prevent users from auto-login after registration
The code snippet is designed to disable the auto-login feature for users who register for a…
Featured Images of the Current User’s All Active Memberships
This code snippet adds the new [membership_thumbnail] shortcode. Adding this shortcode anywhere on the website will…