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



theme_scandir_exclusions › WordPress Filter Hooks

Since4.7.4
Deprecatedn/a
apply_filters( 'theme_scandir_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 theme folder.





Source

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