WP_User::has_cap()
Method: Whether the user has a specific capability.
Source: wp-includes/class-wp-user.php:714
Method: Whether the user has a specific capability.
Source: wp-includes/class-wp-user.php:714
Filter Hook: Dynamically filter a user’s capabilities.
Source: wp-includes/class-wp-user.php:742
Method: Convert numeric level to level capability name.
Source: wp-includes/class-wp-user.php:769
Method: Set the site to operate on. Defaults to the current site.
Source: wp-includes/class-wp-user.php:783
Method: Sets the site to operate on. Defaults to the current site.
Source: wp-includes/class-wp-user.php:798
Method: Gets the ID of the site for which the user’s capabilities are currently initialized.
Source: wp-includes/class-wp-user.php:821
Method: Gets the available user capabilities data.
Source: wp-includes/class-wp-user.php:832
Class: Core class used to implement the WP_User object.
Source: wp-includes/class-wp-user.php:38
Method: Add role to user.
Source: wp-includes/class-wp-user.php:516
Method: Retrieve all of the role capabilities and merge with individual capabilities.
Source: wp-includes/class-wp-user.php:478