WC_REST_Customers_V1_Controller::get_role_names() protected WC 1.0
Get role names.
{} It's a method of the class: WC_REST_Customers_V1_Controller{}
No Hooks.
Return
Array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_role_names();
Code of WC_REST_Customers_V1_Controller::get_role_names() WC REST Customers V1 Controller::get role names WC 5.0.0
protected function get_role_names() {
global $wp_roles;
return array_keys( $wp_roles->role_names );
}