W3cubDocs

/WordPress

apply_filters( 'editable_roles', array[] $all_roles )

Filters the list of editable roles.

Parameters

$all_roles

(array[]) Array of arrays containing role information.

Source

File: wp-admin/includes/user.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/editable_roles