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



plugin_files_exclusions › Hooks de Filtros WordPress

Desde4.9.0
Obsoleton/a
apply_filters( 'plugin_files_exclusions', array( 'CVS', 'node_modules', 'vendor', 'bower_components' )
Parâmetros:
  • (string[]) $exclusions Array of excluded directories and files.
    Required: Yes
Definido em:
Codex:

Filters the array of excluded directories and files while scanning the folder.





Fonte

$exclusions = (array) apply_filters( 'plugin_files_exclusions', array( 'CVS', 'node_modules', 'vendor', 'bower_components' ) );