wpseek.com
A WordPress-centric search engine for devs and theme authors



plugin_files_exclusions › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'plugin_files_exclusions', array( 'CVS', 'node_modules', 'vendor', 'bower_components' )
Parameters:
  • (string[]) $exclusions Array of excluded directories and files.
    Required: Yes
Defined at:
Codex:

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





Source

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