wp_get_theme_file_editable_extensions
wp_get_theme_file_editable_extensions ( $theme )
Parameters:- (WP_Theme) theme Theme object.
Returns:- (string[]) Array of editable file extensions.
Defined at: - Introduced in WordPress: 4.9.0
- Deprecated in WordPress: —
Description
Gets the list of file extensions that are editable for a given theme.