A WordPress-centric search engine for devs and theme authors



editable_extensions ›

Since4.9.0
Deprecatedn/a
apply_filters( 'editable_extensions', $editable_extensions, $plugin )
Parameters: (2)
  • (string[]) $editable_extensions An array of editable plugin file extensions.
    Required: Yes
  • (string) $plugin Path to the plugin file relative to the plugins directory.
    Required: Yes
Defined at:
Codex:

Filters file type extensions editable in the plugin editor.





Source

$editable_extensions = (array) apply_filters( 'editable_extensions', $editable_extensions, $plugin );