WP_Roles::get_names()

Retrieves a list of role names.


Return

(string[]) List of role names.


Source

File: wp-includes/class-wp-roles.php

	public function get_names() {
		return $this->role_names;
	}


Changelog

Changelog
Version Description
2.0.0 Introduced.