WP_Roles::get_names(): string[] In this article Table of ContentsReturn Source Related Changelog ↑ Back to top Retrieves a list of role names. Return string[] List of role names. Source public function get_names() { return $this->role_names; } View all references View on Trac View on GitHub Related Used byDescriptionwp_get_users_with_no_role()wp-includes/user.phpGets 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.phpReturns an associative array listing all the views that can be used with this table. count_users()wp-includes/user.phpCounts number of users who have each of the user roles. Changelog VersionDescription2.0.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.