Core Function
View Source on Trac ↗ wp_get_theme_file_editable_extensions()
wp_get_theme_file_editable_extensions( mixed $theme ) Gets the list of file extensions that are editable for a given theme.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $theme WP_Theme | Theme object. Required |
Return Value
(string[])
Array of editable file extensions.
Function Information
Since Version
4.9.0
Source File
wp-admin/includes/file.php
Advertisement