wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



default_role_dropdown_excluded_roles › Les Filtres WordPress

Depuis7.0.0
Dépréciéen/a
› apply_filters( 'default_role_dropdown_excluded_roles', array( 'administrator', 'editor' )
Paramètres:
  • () roles_to_exclude Array of roles to exclude from the dropdown. Defaults to administrator and editor.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the roles to be excluded from the default_role option.





Source

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