Filters the array of excluded directories and files while scanning theme folder.
Parameters
$exclusions
string[]- Array of excluded directories and files.
Source
$exclusions = (array) apply_filters( 'theme_scandir_exclusions', array( 'CVS', 'node_modules', 'vendor', 'bower_components' ) );
Changelog
Version | Description |
---|---|
4.7.4 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.