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
Changelog
Version | Description |
---|---|
WP-4.9.0 | Adds $plugin param. |
WP-2.8.0 | Introduced. |