Advertisement

role_has_cap

Filters which capabilities a role has.

WP_Role::has_cap

Determines whether the role has the given capability.

WP_Role::__construct

Constructor – Set up object properties.

Advertisement

WP_Role

Core class used to extend the user roles API.