A WordPress-centric search engine for devs and theme authors



editable_roles ›

Since2.8.0
Deprecatedn/a
apply_filters( 'editable_roles', $all_roles )
Parameters:
  • (array[]) $all_roles Array of arrays containing role information.
    Required: Yes
Defined at:
Codex:

Filters the list of editable roles.





Source

$editable_roles = apply_filters( 'editable_roles', $all_roles );