Adjust the Size of the QR Code on the Membership Card

This code recipe will allow you to adjust the QR code on your Paid Memberships Pro Membership Card to a specific size. This comes in handy if you want a more minimalistic-looking membership card or if you would like a more visible QR code.

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Show a Link to the Profile User’s Author Post Archive on the Member Profile Page.

This code recipe will allow you to give your members more exposure to their written articles by displaying a link to their author post archives on their member profile page.

member profile page

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Assign a Membership Level to a WordPress User Role

Assign a Membership Level to a specific WordPress user role. This can be an effective way to subscribe a user to a membership when they interact with your website using a different plugin other than Paid Memberships Pro.

automatically assign a membership level to a wordpress role

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Always Allow Admin Access to Member Restricted Posts

Did you know that even website administrators will need an active membership level in order to see member-only content? Use this code recipe to override the behavior of the pmpro_has_membership_access_filter to always allow admin access to restricted content.

w admin access to member only posts

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Limit the Number of Posts Displayed as Part of a Series

Our Paid Memberships Pro Series Add On allows you to drip feed content to your members over the course of their membership. This is a great way to keep members coming back or make sure members do not consume all of your content at once.

By default, all the posts of a series can be seen in a list. However, members can only access it at a certain time. In the event that you wish to hide upcoming or not-yet-accessible content, you will need to use this code recipe to do so.

Limit the number of posts displayed as part of a series

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Customizing the Default Member Directory Sort Order

Our PMPro Member Directory and Profiles Add On allow you to add a public or members-only directory to your membership site.

This directory has a default sort order of First Name followed by the Last Name of the member. This recipe will override the default sort order to display the member’s Last Name followed by their First Name.

 default member directory sort order

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Add WooCommerce Billing Fields to the Paid Memberships Pro Invoice

Are you using Woocommerce to sell Paid Memberships Pro memberships? You might need to add the billing fields that are collected from WooCommerce and add them to your PMPro invoices for record keeping. If so, we have just the right code recipe for you.

Add woccomerce billing fields to paid memberships pro

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Disable Visits, Views, and Logins Report Stats for a Specific User Role

The Visits, Views, and Logins report in Paid Memberships Pro shows aggregate user statistics for the day, month, and all time. The full report offers a detailed view of data points by user and member.

This recipe will show you how to disable statistic tracking for the “administrator” role.

Banner image for Disable Visits, Views, and Logins Report Stats for a Specific User Role

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Assign Additional Membership Levels Based on Fields at Checkout

This recipe will automatically add certain membership levels to the user at checkout based on which fields they select at membership checkout. You must be using the Multiple Memberships Per User Add On as well as Register Helper to use this method.

Banner for Assign Additional Membership Levels Based on Fields at Checkout

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now