apply_filters( 'editable_extensions', string $plugin, array $editable_extensions )

Filters file type extensions editable in the plugin editor.


Parameters

$plugin

Plugin file.

$editable_extensions

An array of editable plugin file extensions.


Source

File: wp-admin/includes/file.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.0 Adds $plugin param.
WP-2.8.0 Introduced.