wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



editable_extensions › WordPress Filter Hooks

Da4.9.0
Deprecaton/a
apply_filters( 'editable_extensions', $default_types, $plugin )
Parametri: (2)
  • (string[]) $default_types An array of editable plugin file extensions.
    Richiesto:
  • (string) $plugin Path to the plugin file relative to the plugins directory.
    Richiesto:
Definito a:
Codex:

Filters the list of file types allowed for editing in the plugin file editor.





Sorgenti

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