• Resolved Michael

    (@mikeyhoward1977)


    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 1 replies (of 1 total)
  • Thread Starter Michael

    (@mikeyhoward1977)

    Marking as resolved…

    I will try and user $pagenow to achieve what I need

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict which user accounts and User role can manage’ is closed to new replies.