apply_filters( 'theme_scandir_exclusions', string[] $exclusions )
Filters the array of excluded directories and files while scanning theme folder.
Parameters
- $exclusions
-
(string[]) Array of excluded directories and files.
Source
Changelog
Version | Description |
---|---|
4.7.4 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/theme_scandir_exclusions