WP_User::for_site()
Method: Sets the site to operate on. Defaults to the current site.
Source: wp-includes/class-wp-user.php:865
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
Function: Determines whether user is a site admin.
Source: wp-includes/capabilities.php:1071
Function: Grants Super Admin privileges.
Source: wp-includes/capabilities.php:1107
Action Hook: Fires before the user is granted Super Admin privileges.
Source: wp-includes/capabilities.php:1120
Action Hook: Fires after the user is granted Super Admin privileges.
Source: wp-includes/capabilities.php:1137