wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



default_role_dropdown_excluded_roles › Filtr WordPress Hooks

Od7.0.0
Przestarzałyn/a
› apply_filters( 'default_role_dropdown_excluded_roles', array( 'administrator', 'editor' )
Parametry:
  • () roles_to_exclude Array of roles to exclude from the dropdown. Defaults to administrator and editor.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the roles to be excluded from the default_role option.





Źródło

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