How to Block Dashboard Access for Additional User Roles

Version 2.3+ of Paid Memberships Pro has a setting to block WordPress dashboard access for the “Subscriber” role. If you are using the Roles for Membership Levels Add On or other custom code to adjust member roles, you can use the pmpro_block_dashboard filter to block the dashboard for additional roles.

This content requires a premium membership plan.