wpseek.com
WordPress开发者和主题制作者的搜索引擎



plugin_files_exclusions › WordPress过滤钩子

Since4.9.0
已弃用n/a
apply_filters( 'plugin_files_exclusions', array( 'CVS', 'node_modules', 'vendor', 'bower_components' )
参数:
  • (string[]) $exclusions Array of excluded directories and files.
    Required: Yes
定义在:
文档:

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





源码

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