Filters the list of file types allowed for editing in the theme file editor.
$default_typesstring[]
$themeWP_Theme
$file_types = apply_filters( 'wp_theme_editor_filetypes', $default_types, $theme );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_theme_editor_filetypes