If your site requires membership approval and includes a Member Directory, this is an important recipe for you. Using this custom code, any members in the pending or denied status will be automatically excluded from display in your directory and will not have a public profile page.Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

The Code Recipe


Adding the recipe to your website

Copy and paste this code recipe into a helper PMPro Customizations plugin. This recipe requires both the Approval Process for Membership Add On and the Member Directory and Profile Pages Add On.

Note: This will only apply to new signups that are created after this customization has been added to your site. You will want to edit the profile for members in the pending or denied statusdenied to make sure the setting “Hide from Directory” is checked.

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?
YesNo