(+84) 463.28.7979

Allow Editor access level to add users in WordPress


Recently, a client asked us to allow editors to add users on their WordPress site. They wanted this feature so that the site managers wouldn’t be tempted to click on any of the settings, and possibly mess something up. I know this is super specific but it did come up for us so maybe it will be relevant for you.

Here’s what I did:

  1. Install and activate the Members Plugin
  2. Go to Settings > Members Components and activate the Edit Roles component.

c. Go to Users > Roles. Click on Editor. In the options panel, check off create_users, edit_users, and delete_users.

  1. Add this code into your funcitons.php file.
  2. Test it out.
  3. That’s it.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>