plugin_files_exclusions WordPress Filter Hook
The plugin_files_exclusions hook is used to exclude certain files from being included in the plugin file list. This can be useful if you want to exclude certain files from being processed by the plugin.
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.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |