Filters the array of excluded directories and files while scanning the folder.
$exclusionsstring[]
$exclusions = (array) apply_filters( 'plugin_files_exclusions', array( 'CVS', 'node_modules', 'vendor', 'bower_components' ) );
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/plugin_files_exclusions