WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_theme_editor_filetypes

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/file.php apply_filters 293 /**
* Filters the list of file types allowed for editing in the theme file editor.
*
* @since 4.4.0
*
* @param string[] $default_types An array of editable theme file extensions.
* @param WP_Theme $theme The active theme object.
*/

Hook Parameters

Parameter Type Name Description
string[] $default_types An array of editable theme file extensions.
WP_Theme $theme The active theme object.