Retrieves a list of role names.
Source
public function get_names() {
return $this->role_names;
}
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |
CARVIEW |
Retrieves a list of role names.
public function get_names() {
return $this->role_names;
}
Used by | Description |
---|---|
wp_get_users_with_no_role()wp-includes/user.php | Gets the user IDs of all users with no role on this site. |
WP_Users_List_Table::get_views()wp-admin/includes/class-wp-users-list-table.php | Returns an associative array listing all the views that can be used with this table. |
count_users()wp-includes/user.php | Counts number of users who have each of the user roles. |
Version | Description |
---|---|
2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.