apply_filters( 'wp_theme_editor_filetypes', string[] $default_types, WP_Theme $theme )

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

Parameters Parameters


(string[]) An array of editable theme file extensions.


(WP_Theme) The current theme object.

Top ↑

Source Source

File: wp-admin/includes/file.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.