
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.