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.


Top ↑

Source

File: wp-admin/includes/plugin.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.