How to remove dashboard access from specific user roles?

Posted by Prem Tiwari | Updated on

To lock subscribers and contributors out of the admin:

Hope that helps. All roles give the user a capability that is the name of that role, so you can use any role name as a capability.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers