Reverse the Order of the Next & Previous Links
Reverses the order of the next and previous links so that the next link will display…
Post class update
add_filter( 'body_class', function( $classes ) { $acc_type=tmwp_get_user_role(); if (!$acc_type) $acc_type='anonymous'; return array_merge( $classes, array('acc-type-'.strtolower($acc_type),tmwp_get_page_class()) ); }…
MemberPress: Change default values for state and country fields on registration forms
Change the default values for the state and country fields on registration forms.
MemberPress: Add Bio Info To Account Page
The code will add the field called Bio to the MemberPress Account Page using a classic…
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: Restrict Signups to a Specific Country
This code snippet limits registration to users from the specified country only. If users from other…
MemberPress: Limit Phone Number Digits
This code snippet limits the number of digits users can enter into a custom phone number…
MemberPress: Adjust Membership Price Based on Membership ID on Checkout Page
This snippet modifies the price of a specific membership (based on the membership ID) in MemberPress.…
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: Rearranging Navigation Items On The Account Page
This snippet reorders the Downloads and Subscriptions tabs before Payments tab on the Account page.
MemberPress: Adding Credit Card and Expiry Information to Subscriptions Table
This snippet adds a new column to the table under the Subscriptions tab on the Account…
MemberPress: Add the Invoice Number to the Transactions Screen
If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…