get_role_list
最后更新于:2021-11-26 23:11:53
apply_filters( ‘get_role_list’, string[] $role_list, GC_User $user_object )
Filters the returned array of roles for a user.
参数
- $role_list
-
(string[])
An array of user roles.
- $user_object
-
(GC_User)
A GC_User object.
源文件
文件: gc-admin/includes/class-gc-users-list-table.php
View on Trac