MemberPress: Adjusting Paywall Cookie Expiry Time

This code snippet modifies the default expiration period (30 days) for the MemberPress paywall cookie. The…

MemberPress: Shortcode To Display Content for Parent Accounts and Exclude Subaccounts

The code snippet registers a new shortcode: [mepr_exclude_sub_accounts]...[/mepr_exclude_sub_accounts]. The content added to this shortcode will be…

Send Donation Notification For Pending Offline Donations

Sends a notification to admin if the donation is pending AND it was made in offline…

Change Currency Format By Locale

This snippet below shows how to change the currency format for each language.

Contribution request

Keep your content free and ask for voluntary contributions. Readers that do not wish to contribute…

MemberPress: Turn Off Auto-Rebill for Offline Gateway

Some integrations - like Mail Chimp - require auto-rebill to be stopped before they do their…

MemberPress: Change the Member’s User Role After Subscription Cancellation

The code automatically changes the member's user role once any subscription is canceled. This will be…

MemberPress: Change the Member’s User Role After a Specific Membership Subscription Cancelation

The code snippet automatically changes the member's user role once the subscription is canceled. This will…

MemberPress: Display Current User’s Memberships Renewal Dates

This code snippet adds the new [mp_membership_renewal_date] shortcode. Adding this shortcode anywhere on the website displays…

Set State Field To Us States Dropdown With Default

Change the "State" field into a "Province" field.

MemberPress: Limit Phone Number Digits

This code snippet limits the number of digits users can enter into a custom phone number…

Round Percent Donated To Whole Number

/** * Display percent donated as rounded whole number. * * @param string $return * @param…

MemberPress: Hide the Cancel Link in the Account Page for a Period of Time

The code will hide the subscription cancellation link on the Account page for a set period…

Send Donation Receipt For Pending Offline Donations

Right after a donation is made, this sends the donation receipt to the donor if the…

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…

1 … 14 15 16 17 18 … 30