How Do I Change User Roles in WordPress Database?

Changing user roles in WordPress database is a task that can be done in a few simple steps. The first step is to open the WordPress administration area and navigate to the Users area.

Here you will see a list of all the user accounts currently registered on your WordPress site.

To change the user role, select the desired user account from the list and click on the Edit link next to their name. On the resulting screen, you will see a list of all the user roles currently available to that user.

To add a new role, simply click on the Add Role button and fill out the relevant details. Once you have finished, click on the Save Changes button to save your changes.

Finally, you will need to log out of all the user accounts you have registered on your WordPress site and log back in to take effect your new role changes.