MemberPress: Exclude Protected Posts From the Main Query
This code snippet modifies the main WordPress query to exclude all posts related to the specified…
MemberPress: Allow Users to Pause/Resume Subscriptions Only for Specific Memberships
For this code snippet to work, the Allow members to pause/resume their subscription option needs to…
MemberPress: Remove MemberPress Weekly Stats Widget from WordPress Dashboard
This code snippet removes the MemberPress Weekly Stats widget from the WordPress admin dashboard. This can…
MemberPress: GDPR Cookie Compliance - Load GDPR Compliance Stylesheet In Memberpress ReadyLaunch Template
This code snippet loads a specific GDPR Cookie Compliance stylesheet in the MemberPress ReadyLaunch templates. This…
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: Replace Text in Group Price Box for Classic Tempalate
This code snippet is designed to dynamically replace specified text within the MemberPress price box elements.…
MemberPress: Set Default Country on Registration Page
This code will help set specified country as default country for the Country field on MemberPress…
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…
MemberPress: Modify "Back to Home" Text And Link on Thank You Page
This snippet changes the text and link of the "Back to Home" button or link (inside…
MemberPress: Display Purchase Information With Shortcode
The code snippet registers a new shortcode: [purchase_info]. Adding this shortcode will display the latest MemberPress…
MemberPress: Override VAT Tax for the UK
By default, UK is included in the list of VAT countries in MemberPress. Thus, when VAT…
MemberPress: Restrict Purchase of a Specific Membership Based on Existing Subscriptions
This code snippet restricts the purchase of a specified MemberPress membership (restricted membership), based on a…
MemebrPress: Send Membership-Specific Welcome Email Only When Transaction Is Completed
The code snippet will allow the membership-specific welcome email to be triggered only following the successful…
MemebrPress: Send MemberPress Welcome Email Only When Transaction Is Completed
The code snippet will allow the global welcome email to be triggered only following the successful…
MemberPress: Get All the Sub-Accounts Data Under a Corporate Parent User
This PHP snippet creates a WordPress shortcode that displays a list of sub-account users associated with…