WP_Role
Core class used to extend the user roles API.
Core class used to extend the user roles API.
Constructor – Set up object properties.
Assign role a capability.
Determines whether the role has the given capability.
Removes a capability from a role.
Filters which capabilities a role has.