WP_Roles::get_names()
Retrieves a list of role names.
Метод класса: WP_Roles{}
Хуков нет.
Возвращает
Строку[]
. List of role names.
Использование
global $wp_roles; $wp_roles->get_names();
Список изменений
С версии 2.0.0 | Введена. |
Код WP_Roles::get_names() WP Roles::get names WP 6.2.2
public function get_names() { return $this->role_names; }