- Wordpress Web Application Development(Third Edition)
- Rakhitha Nimesh Ratnayake
- 174字
- 2021-07-09 19:52:26
Knowing the default roles of WordPress
WordPress comes with six built-in user roles, including superadmin which will not be displayed on the user creation screen by default. As a developer, it's important to know the functionality of each of these types of roles in order to use them in web applications. First, we'll take a look at the default user roles and their functionality:
- Superadmin: A superadmin has administration permission in WordPress multisite implementation
- Admin: An admin has permission to all administration activities inside a single site
- Editor: An editor can create, publish, and manage posts, including the posts of other users
- Author: An author can create and publish their own posts
- Contributor: A contributor can create posts, but cannot publish on their own
- Subscriber: A subscriber can read posts and manage their profile
As you can see, most of the existing user types are used for blogging and content management functionality. Therefore, we might need to create our own user roles for web applications, apart from the default superadmin and admin user roles.