wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



default_role_dropdown_excluded_roles › WordPress Filter Hooks

Seit7.0.0
Veraltetn/v
apply_filters( 'default_role_dropdown_excluded_roles', array( 'administrator', 'editor' )
Parameter:
  • () roles_to_exclude Array of roles to exclude from the dropdown. Defaults to administrator and editor.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the roles to be excluded from the default_role option.





Quellcode

$excluded_roles = (array) apply_filters( 'default_role_dropdown_excluded_roles', array( 'administrator', 'editor' ) );