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