apply_filters( 'editable_extensions', string[] $editable_extensions, string $plugin )

Filters file type extensions editable in the plugin editor.


Parameters Parameters

$editable_extensions

(string[]) An array of editable plugin file extensions.

$plugin

(string) Path to the plugin file relative to the plugins directory.


Top ↑

Source Source

File: wp-admin/includes/file.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.9.0 Added the $plugin parameter.
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.