Advertisement

Summery Summery

Filters the returned array of roles for a user.

Syntax Syntax

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

Parameters Parameters

$role_list

(string[]) An array of user roles.

$user_object

(WP_User) A WP_User object.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.