Saturday, May 21st, 2022

How to Edit User Roles in WordPress? step by step guide

Do you own a WordPress site and want to edit the default user roles? Maybe you want to add or remove some capabilities for one or more available user roles? Or maybe add an entirely new custom user role?

Unfortunately, you cannot do any of these things on WordPress by default. Sure, it gives you 5 default user roles to help you manage your WordPress website, but it doesn’t offer anything in terms of control or customization.

However, as with almost all functionalities with WordPress, you just need a plugin to be able to edit user roles and much more. This is where Profile Builder comes in handy as a user management plugin.

But before we dive into using Profile Builder to edit WordPress user roles, let me help you with some basic understanding of default WordPress user roles. We’ll talk about the steps you need to follow to edit them, delete them, and add new ones.

default wordpress user roles

As we just mentioned above, WordPress provides certain user roles by default. They include the following:

  • Customer
  • contributory
  • Author
  • Editor
  • administrator

These user roles are listed in the order of the capabilities they are granted by default, with Customer having the least capacity, and administrator Enjoying all the privileges.

NS administrator is generally the owner of the website and may add or remove other users. Similarly, the admin user has access to all areas of the website, including deleting content, adding or removing plugins, changing the theme of the website, changing WordPress settings, updating website files, and more.

Need to edit user roles in wordpress

While these user roles may be sufficient in terms of user management for some website owners, most others will need some help. And this is only because WordPress allows these 5 user roles by default, but it does not provide any customization for them.

So basically, you’re stuck with predefined access rules and can’t make any changes to what these user roles can or can’t do. Beyond that, you’re pretty much stuck with just these 5 user roles, without the ability to add new roles or delete any of these existing default user roles.

This can certainly be an issue in many cases. For example, if you’re running an e-commerce store using WordPress and WooCommerce, you’ll probably want to create a Customer User role that may not fit any of the default user roles offered by WordPress.

Similarly, some website owners want their authors to be able to edit other authors’ posts as well. In some cases, it may even make sense to allow customers to contribute to posts that you can approve or decline later. But with the default WordPress user function, you won’t be able to do any of these things.

This is why you need a plugin to manage user roles on your website. A complete user management plugin like Profile Builder will help you here, providing you with the following benefits:

  • Full control over all user roles on your WordPress website;
  • Ability to create new custom user roles;
  • the ability to add or remove capabilities from existing user roles;
  • the ability to remove user roles that you do not need;
  • Clone some of the user roles you want to duplicate and later customize using the Role Editor.

While there are other WordPress user role plugin options out there that may be able to do more or less the same thing as Profile Builder, they don’t offer many of the other features you get with Profile Builder.

Being able to edit user roles in WordPress is one of the functional areas of Profile Builder. The plugin offers a lot in terms of user management functionalities, which will help you control and optimize every aspect of user management on your WordPress website.

How to Easily Edit WordPress User Roles Using Profile Builder

It is surprisingly easy to edit user roles with Profile Builder. The process is straightforward and there is no technical work involved. So let’s get to it!

Install and set up Profile Builder plugin

First, you’ll need to install and activate the Profile Builder Pro plugin if you haven’t already. You can do this by uploading a plugin you purchased from our website (download it from) accounting page), or you can download it from the WordPress repository if you want to try out the free version.

Once the plugin is activated, you need to enable the setting that activates the user role editor. go to Profile Builder → Settings scroll to find more “Role Editor” activated the option. Click on the dropdown menu and select Yes,

Scroll to the bottom of the page and click save Changes Button. This will activate the User Role Editor.

Now, when you hover over users menu item in the WordPress sidebar, you will be able to see a new role editor the option. If you click on it, you will see a page like the one you see in the image below:

As mentioned above, you can edit any of the existing user roles that appear there, remove them if they are no longer needed (except for default user roles—you can’t delete them), and New custom user roles can also be added, by clicking on NS add new role button at the top of the page.

But since we are discussing how to edit user roles, I explain below in a few simple steps how you can do it.

Edit WordPress User Roles

Hover your mouse over the user role you want to edit. then click on Edit option that appears just below it.

For this tutorial, we will edit Author user role, so we click on Edit button under Author user role. Depending on the user you’re editing, you’ll see a page similar to the one you see in the image below:

Editing WordPress User Roles with Profile Builder

Here, you can see all the capabilities that the user role you are currently editing. You can also find the exact number of their capabilities on the right side of your page, just like the one shown in the image.

To make things much easier for you, Profile Builder has categorized user role capabilities into several different categories.

Now, in our case, let’s say we don’t want Author User role to be able to delete published posts on our WordPress website. For this we will just click on delete right next to the option “delete_published_postsbox, which is currently listed as one of the capabilities Author User role.

Next, we also want to add a capability to enable authors on our WordPress website to moderate the comments they receive on published posts. So, to do this we click on “Select CapabilitiesStart scrolling down the field and drop-down list at the top left of the screen until we find the capacity that saysmoderate_comments,

When you click on New Capability for the user role you are editing, you will see this in Capabilities search field.

Adding New WordPress User Role Capabilities

You can add as many abilities as you want, leaving the capabilities already with the user. After adding the abilities you want, simply click on the Add Capabilities button.

Then we can see the new capability being added to Author User role here.

New capability added to user role

When you’ve made all the changes you want to the user role you’re editing, click Updates button on the left. You will then see a message at the top saying that the role has been updated.

Updating WordPress User Role Editing

It’s so easy to edit user roles with Profile Creator. You don’t need to touch the code, yet you can make all kinds of changes to the user role you want to edit in a few easy clicks.

Create Custom User Roles

Now that you know how to easily and quickly edit user roles on your WordPress website, let’s move on to the process of creating a new custom WordPress user role on your website.

As we mentioned above, you have to click on add new role button at the top after navigating to user role editor, This is the page you will land on:

Add New User Role Page

Here, you’ll be able to basically create a new user role from scratch. You can add all kinds of abilities, set the role slug to the left, and give the user a role by typing whatever name you want into the field at the top and clicking. To publish button on the left when you’re done. After following these steps, your new user role will go live.

Now, let’s make it even easier for you by doing it yourself and using the screenshot below to explain the steps.

Create a new user role from scratch – Example

Again, for the sake of this tutorial let’s assume we’re running an e-commerce website built using WooCommerce and want an employee to manage our inventory, orders, and products on our website. We will add all the capabilities needed to manage customer orders and update product pages as inventory changes.

We have selected some of the capabilities required for this user role. Please note here that all these capabilities are custom capabilities offered by Profile Builder as WordPress does not provide any of these capabilities by default.

Adding Custom Capabilities to the New User Role

let’s click now add capacity Button. We will name the role of the user as “inventory Manager”, which will also automatically set the role slug, but you can change it if you want.

After adding the capabilities, we can go ahead and click To publish Button. A message should appear at the top of the screen telling us that the custom user role has been created successfully.

If you forgot to add a capability or just want to edit your new user role, you can just go back, make your changes, and then hit Updates Button. This will also add all your new changes.

Finally, to confirm that new users can indeed be added to the role we just created, we can go to User → Add New And scroll all the way down. Here, you should find the new user role you just created in the list of user roles available on your site. Below, you can see that inventory Manager The option is listed below.

New user role added to the list

Get started using Profile Builder with WordPress to edit user roles today

While Profile Builder works great as a user role editor, it has more to offer. As we said above, it is a complete user management plugin and provides you all kinds of features and functionality to manage users and user roles on your WordPress website.

So, in addition to the ability to edit, manage and create user roles, here are some of the features that are available to you with Profile Creator:

If you are looking for an all-in-one user management plugin for your WordPress website that does not require any coding skills, check out all the features below.