user_has_cap
Filter Hook: Dynamically filter a user’s capabilities.
Source: wp-includes/class-wp-user.php:810
Filter Hook: Dynamically filter a user’s capabilities.
Source: wp-includes/class-wp-user.php:810
Method: Converts numeric level to level capability name.
Source: wp-includes/class-wp-user.php:838
Class: Core class used to extend the user roles API.
Source: wp-includes/class-wp-role.php:16
Method: Constructor – Set up object properties.
Source: wp-includes/class-wp-role.php:46
Method: Assign role a capability.
Source: wp-includes/class-wp-role.php:59
Class: Core class used to implement the WP_User object.
Source: wp-includes/class-wp-user.php:41
Method: Removes a capability from a role.
Source: wp-includes/class-wp-role.php:71
Method: Constructor.
Source: wp-includes/class-wp-user.php:125
Method: Determines whether the role has the given capability.
Source: wp-includes/class-wp-role.php:84
Method: Retrieves all of the capabilities of the user’s roles, and merges them with individual user capabilities.
Source: wp-includes/class-wp-user.php:503