WP_Roles::get_names(): string[]

In this article

Retrieves a list of role names.

Return

string[] List of role names.

Source

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

Changelog

VersionDescription
2.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.