all_plugins
apply_filters( ‘all_plugins’, array $all_plugins )
过滤器::过滤要在plugins列表表中列出的全部插件数组。
Filter Hook: Filters the full array of plugins to list in the Plugins list table.
说明(Description)
另见函数 get_plugins()
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$all_plugins | (array) | 要在列表中显示的插件数组。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.0.0 | wp-admin/includes/class-wp-plugins-list-table.php:91 | 1 | 0 |
all_plugins 为WP2原创文章,链接:https://www.wp2.cn/hook/all_plugins/