Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Danielle Phipps
2,861 PointsRandom WordPress User Role Question
I am trying to grant editors access to add and delete users in my WordPress website. I have been looking for code I can put into my functions.php file and have not found anything. I don't want to use a plugin because I already have one that grants access for everything else. If anyone can help me out I would really appreciate it. Thanks!
3 Answers

John Locke
15,479 PointsHi Danielle Phipps :
I'm not sure that you can extend the ability to add and delete users to Editors. You might have to make them Administrators. If anyone knows of a function to the contrary, I hope they can share it with you.

Danielle Phipps
2,861 PointsI know it's possible to do using a plugin. I'm going to keep looking because there has to be a way to do it somehow.

Matt Campbell
9,767 PointsDanielle Phipps, have you seen this?
http://wordpress.org/plugins/user-role-editor/
The only other way would be to get into the WordPress engine code and change it. Problem with that is, every time you update WordPress, it'll overwrite the code.