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

Filters the returned array of translated role names for a user.


Parameters

$role_list

(string[]) An array of translated user role names keyed by role.

$user_object

(WP_User) A WP_User object.


Top ↑

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

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