apply_filters( 'get_role_list', string[] $role_list, WP_User $user_object )
Filters the returned array of roles for a user.
Parameters
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_role_list