How to rename user roles – WordPress

How to rename user roles of WordPress? By default WordPress has five user roles. They are Subscriber, Contributor, Author, Editor and Administrator. Each of them has different capabilities and access levels in WordPress where Administrator is the most powerful and Subscriber is the lowest. An Administrator can do almost everything and a Subscriber can do almost nothing! (See for details)

Let’s think, you are developing a website for booking hotels online. There will be 3 type of members. Free member, Premium member and Manager. Now what? You can assign Editor as Manager, Author as Premium member and Contributor as Free member for example. It may solve your problem, but doesn’t it look odd? Of-course. Then what is the solution?

You can rename user roles to whatever you want. Here is how to do:

How to rename user roles

  • Open your theme’s functions.php file. This file is located at ../wp-content/themes/your_theme_name/functions.php
  • Copy the code below. Double click on code to make them copyable.

  • Paste them inside <?php and ?> tags of functions.php file.
  • Save.
  • You are done.

Now go to ../wp-admin/users.php and see the changes!


Need help with your WordPress tasks?