apply_filters( 'plugin_files_exclusions', string[] $exclusions )

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


Parameters

$exclusions string[]
Array of excluded directories and files.

Top ↑

Source

File: wp-admin/includes/plugin.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes

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