Send members an additional invoice via email after Membership Checkout

Paid Memberships Pro emails a membership invoice for all recurring or renewing membership subscriptions. This email is not sent after the initial membership checkout because all of the relevant invoice details are included in the Membership Confirmation email. If you’ve customized the Confirmation email and removed invoice details, you may want to send a separate invoice email using the recipe below.

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

How to adjust your membership site’s default currency format.

Currency formatting varies from country to country. For example, the placement of a comma (“,”) or period (“.”) in a currency format can mean something completely different depending on what currency is being used. Our core plugin offers formatting for several built-in currencies, which you can specify on the Memberships > Payment Settings page, but what if your currency is not being properly represented?

This code recipe demonstrates how to use the pmpro_currencies filter to adjust the format to match your desired currency.

Danish Krone as Default Currency

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Show a Member’s Level Name in Post Comments

When a member posts a comment on your site, the recipe below will display their Membership Level name following the comment author’s name.

This can be useful for many membership sites, specifically sites that have multiple tiers of membership which equate to a member’s status, skill-level or denote a relationship to your company.

The author name is also updated in the Comments section of the admin dashboard so you can tell what membership levels users have when approving pending comments. This has been particularly useful for us on our own site to tell which of our blog post commenters are paying members.

Show member level name next to author name in comment

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Set a Specific Checkout Level When Using Addon Packages

Our Addon packages extension allows you to sell access to individual pages or posts, or sell a la carte items for a flat fee.

This recipe will allow you to set a specific checkout level to use when a non-member selects to purchase one of your Addons. Previously, the plugin simply included logic to select the “first least expensive membership” level assigned to the post.

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Let members access your original homepage when using the Member Homepages Add On.

The code example below will allow logged in Members the ability to access your original homepage when using our Member Homepages Add On.

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Prevent users from using an email address as their username.

The code example below will prevent users from setting their username to an email address. This is useful if you want users to use an actual username instead of using their email address in both username and email fields.

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Change “Pay by Check” wording to open up more payment options for members.

Our Pay by Check Add On adds a second payment option for members to make purchase by “Check”. With a little help from WordPress’ gettext filter, you can open up more payment options for your members. What types of changes can you make? In some parts of the world, “Check” is spelled “Cheque”. Alternately, you could…

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Create and Manage Affiliates by Membership Level Using AffiliateWP

This code recipe creates affiliates or updates the status of existing affiliates based on their membership level when using AffiliateWP.

The affiliate is created after their membership level is changed to the appropriate level (in the recipe, this is level ID 1). When membership is cancelled or expires, the affiliate’s status is changed to “inactive”.

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Turn your WooCommerce Store into a Catalog for Non Members 

Prevent non-members from viewing product prices or purchasing products from your WooCommerce store with this Code Recipe

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Set a Member Author’s Posts to Draft When Membership is Cancelled

If you allow guest authors on your membership site as a feature of membership, this recipe will demonstrate how to automatically change their posts’ statuses to “draft” when membership is cancelled.

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now