What are the different user roles in WordPress?

A role is a named group of permissions (called capabilities). WordPress has five default roles:

RoleWhat the user can do
AdministratorEverything on the site
EditorPublish and manage all posts and pages, and comments
AuthorWrite, publish and manage only his own posts
ContributorWrite his own posts, but cannot publish them
SubscriberOnly manage his profile
Terminal output

$ wp role list –fields=role,name
role name
administrator Administrator
editor Editor
author Author
contributor Contributor
subscriber Subscriber

On a multisite network there is also the Super Admin role. Read more in Users and Roles.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.