Search results for: memberpress
MemberPress: Pass a Member Phone Number to Stripe
This code will pass the phone number a member added to the membership registration form when…
MemberPress: Modify the Order of the Registration and the Account Form Fields
Each field in the registration and account form is a separate element. Thus, the order of…
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: Dynamic Trail Periods
Sets up a dynamic trial period so that all users renew on the same date. In…
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…
MemberPress: Generate All Invoices
function generate_bulk_invoices() { if( isset( $_REQUEST[ 'generate-invoices' ] ) ) { global $wpdb; $query = "SELECT…
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…
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…
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: Send Tax (e.g. VAT) to Stripe
This code snippet will send the user’s VAT/TAX number to Stripe when that user registers for…