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



wp_theme_editor_filetypes › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'wp_theme_editor_filetypes', $default_types, $theme )
Parametri: (2)
  • () default_types An array of editable theme file extensions.
    Richiesto: Sì
  • () theme The active theme object.
    Richiesto: Sì
Definito a:
Codex:

Filters the list of file types allowed for editing in the theme file editor.





Sorgenti

$file_types = apply_filters( 'wp_theme_editor_filetypes', $default_types, $theme );