wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



default_role_dropdown_excluded_roles › WordPress Filter Hooks

Da7.0.0
Deprecaton/a
› apply_filters( 'default_role_dropdown_excluded_roles', array( 'administrator', 'editor' )
Parametri:
  • () roles_to_exclude Array of roles to exclude from the dropdown. Defaults to administrator and editor.
    Richiesto: Sì
Definito a:
Codex:

Filters the roles to be excluded from the default_role option.





Sorgenti

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