WordPress at a glance
filter is not described

editable_extensions filter-hook . WP 2.8.0

Filters file type extensions editable in the plugin editor.

Usage

add_filter( 'editable_extensions', 'filter_function_name_821', 10, 2 );
function filter_function_name_821( $editable_extensions, $plugin ){
	// filter...

	return $editable_extensions;
}
$editable_extensions(string[])
An array of editable plugin file extensions.
$plugin(string)
Path to the plugin file relative to the plugins directory.

Changelog

Since 2.8.0 Introduced.
Since 4.9.0 Added the $plugin parameter.

Where the hook is called

wp_get_plugin_file_editable_extensions()
editable_extensions
wp-admin/includes/file.php 228
$editable_extensions = (array) apply_filters( 'editable_extensions', $editable_extensions, $plugin );

Where the hook is used (in WP core)

Usage not found!