WP_Roles::is_role()
Whether role name is currently in the list of available roles.
Whether role name is currently in the list of available roles.
Remove capability from role.
Remove role by name.
Core class used to implement the WP_User object.
Constructor.
Adds capability and grant or deny access to capability.
Adds role to user.
Retrieves all of the capabilities of the user’s roles, and merges them with individual user capabilities.
Returns whether the user has the specified capability.
Chooses the maximum level the user has.