WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about editable_extensions

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/file.php apply_filters 235 /**
* Filters the list of file types allowed for editing in the plugin file editor.
*
* @since 2.8.0
* @since 4.9.0 Added the `$plugin` parameter.
*
* @param string[] $default_types An array of editable plugin file extensions.
* @param string $plugin Path to the plugin file relative to the plugins directory.
*/

Hook Parameters

Parameter Type Name Description
string[] $default_types An array of editable plugin file extensions.
string $plugin Path to the plugin file relative to the plugins directory.