WP_Roles::get_names()

Retrieve list of role names.


Description Description


Return Return

(string[]) List of role names.


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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