Support » How-To and Troubleshooting » Adding "remove_users" Capability

Adding "remove_users" Capability

  • I am using the following code to allow “Editors” to manage users, but I need to prevent “Editors” from removing or demoting “Admins”:

    $editor_role = get_role('editor');

    Any help would be greatly appreciated!

    Kind regards

  • The topic ‘Adding "remove_users" Capability’ is closed to new replies.
Skip to toolbar