Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

mikeyhoward1977 on "Restrict which user accounts and User role can manage"

$
0
0

Is it possible to restrict which users a certain user role can edit/manage?

With my plugin I created a new role and gave that role the edit users capability which works fine. However, what if I only want this role to be able to edit certain users and display a wp_die message if they attempt to edit a user that they should not have access to?

Is there a hook that will enable me to do this?


Viewing all articles
Browse latest Browse all 8245

Trending Articles