wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



editable_extensions › Filtr WordPress Hooks

Od4.9.0
Przestarzałyn/a
apply_filters( 'editable_extensions', $default_types, $plugin )
Parametry: (2)
  • (string[]) $default_types An array of editable plugin file extensions.
    Wymagane: Tak
  • (string) $plugin Path to the plugin file relative to the plugins directory.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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