apply_filters( ‘plugin_files_exclusions’, string[] $exclusions )

In this article

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

Parameters

$exclusionsstring[]
Array of excluded directories and files.

Source

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

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.