WP_User::get_role_caps()
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
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
Method: Sets the site to operate on. Defaults to the current site.
Source: wp-includes/class-wp-user.php:865
Method: Adds role to user.
Source: wp-includes/class-wp-user.php:542
Method: Gets the ID of the site for which the user’s capabilities are currently initialized.
Source: wp-includes/class-wp-user.php:888
Class: Core class used to implement the WP_User object.
Source: wp-includes/class-wp-user.php:41
Action Hook: Fires immediately after the user has been given a new role.
Source: wp-includes/class-wp-user.php:564
Method: Gets the available user capabilities data.
Source: wp-includes/class-wp-user.php:900
Method: Constructor.
Source: wp-includes/class-wp-user.php:125
Method: Removes role from user.
Source: wp-includes/class-wp-user.php:574
Method: Sets up object properties, including capabilities.
Source: wp-includes/class-wp-user.php:172