WP_Roles::get_names() – Retrieve list of role names.
You appear to be a bot. Output may be restricted
Description
Retrieves a list of role names.
Usage
$string[] = WP_Roles::get_names();
Parameters
Returns
string[] List of role names.
Source
File name: wordpress/wp-includes/class-wp-roles.php
Lines:
1 to 3 of 3
public function get_names() { return $this->role_names; }