Uma área de pesquisa sobre o WordPress para devs e autores do tema



editable_extensions ›

Desde4.9.0
Obsoleton/a
apply_filters( 'editable_extensions', $editable_extensions, $plugin )
Parâmetros: (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
Definido em:
Codex:

Filters file type extensions editable in the plugin editor.





Fonte

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