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…

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…

Set State Field To Us States Dropdown With Default

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

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…

Round Percent Donated To Whole Number

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

MemberPress: Limit Phone Number Digits

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

Remove Stats Summary Block

Remove the campaign summary block (funds raised, number of donors, etc).

YouTube Feeds Pro add Category Support

This snippet registers a new taxonomy for the custom post type related to the individual video…

MemberPress: Restrict Email Patterns for All Memberships

This code snippet prevents users with specific email patterns from registering for any membership on the…

MemberPress: Remove a User Role After Subscription to a Specific Membership Expires

The code snippet will remove the specified role from a user after the user’s subscription to…

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…

1 … 16 17 18 19 20 … 30