WP_Roles::get_site_id()
Method: Gets the ID of the site for which roles are currently initialized.
Source: wp-includes/class-wp-roles.php:342
Method: Gets the ID of the site for which roles are currently initialized.
Source: wp-includes/class-wp-roles.php:342
Method: Gets the available roles data.
Source: wp-includes/class-wp-roles.php:355
Method: Initializes all of the available roles.
Source: wp-includes/class-wp-roles.php:284
Method: Sets the site to operate on. Defaults to the current site.
Source: wp-includes/class-wp-roles.php:315
Action Hook: Fires after the roles have been initialized, allowing plugins to add their own roles.
Source: wp-includes/class-wp-roles.php:303
Method: Makes private/protected methods readable for backward compatibility.
Source: wp-includes/class-wp-roles.php:103
Method: Adds a capability to role.
Source: wp-includes/class-wp-roles.php:210
Method: Removes a capability from role.
Source: wp-includes/class-wp-roles.php:229
Method: Retrieves a role object by name.
Source: wp-includes/class-wp-roles.php:248
Method: Retrieves a list of role names.
Source: wp-includes/class-wp-roles.php:263
Method: Determines whether a role name is currently in the list of available roles.
Source: wp-includes/class-wp-roles.php:275
Class: Core class used to implement a user roles API.
Source: wp-includes/class-wp-roles.php:27
Method: Constructor.
Source: wp-includes/class-wp-roles.php:86
Method: Sets up the object properties.
Source: wp-includes/class-wp-roles.php:120
Method: Reinitializes the object.
Source: wp-includes/class-wp-roles.php:135
Method: Adds a role name with capabilities to the list.
Source: wp-includes/class-wp-roles.php:158
Method: Removes a role by name.
Source: wp-includes/class-wp-roles.php:182