editable_extensions
最后更新于:2021-11-26 09:01:22
apply_filters( ‘editable_extensions’, string[] $default_types, string $plugin )
Filters the list of file types allowed for editing in the plugin editor.
参数
- $default_types
-
(string[])
An array of editable plugin file extensions. - $plugin
-
(string)
Path to the plugin file relative to the plugins directory.
源文件
文件: gc-admin/includes/file.php