apply_filters( 'get_role_list', string[] $role_list, WP_User $user_object )

Filters the returned array of roles for a user.

Parameters Parameters


(string[]) An array of user roles.


(WP_User) A WP_User object.

Top ↑

Source Source

File: wp-admin/includes/class-wp-users-list-table.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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