Filters the returned array of translated role names for a user.
return apply_filters( 'get_role_list', $role_list, $user_object );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_role_list