What are the different user roles in WordPress?
A role is a named group of permissions (called capabilities). WordPress has five default roles:
| Role | What the user can do |
|---|---|
| Administrator | Everything on the site |
| Editor | Publish and manage all posts and pages, and comments |
| Author | Write, publish and manage only his own posts |
| Contributor | Write his own posts, but cannot publish them |
| Subscriber | Only 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. |