wp_get_plugin_file_editable_extensions
wp_get_plugin_file_editable_extensions ( $plugin )
Parameters:- (string) plugin Path to the plugin file relative to the plugins directory.
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 in plugins.