The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Adding "remove_users" Capability (1 post)

  1. Kruncher
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic