How possible give a user the ‘adminstrator’ role? for example I made a user with wp_insert_user(array(…, ‘role’ => ‘Administrator’) but it doesn’t effect on role of user.
thanks.
1 comment
Comments are closed.
How possible give a user the ‘adminstrator’ role? for example I made a user with wp_insert_user(array(…, ‘role’ => ‘Administrator’) but it doesn’t effect on role of user.
thanks.
Comments are closed.
or
Super Admin â somebody with access to the site network administration features and all other features. See the Create a Network article.
Administrator â somebody who has access to all the administration features within a single site.
Editor â somebody who can publish and manage posts including the posts of other users.
Author â somebody who can publish and manage their own posts.
Contributor â somebody who can write and manage their own posts but cannot publish them.
Subscriber â somebody who can only manage their profile.