all_themes
apply_filters( ‘all_themes’, WP_Theme[] $all )
过滤器::过滤要在多站点主题列表表中列出的WP_主题对象的完整数组。
Filter Hook: Filters the full array of WP_Theme objects to list in the Multisite themes list table.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$all | (WP_Theme[]) | 要在列表中显示的WP_主题对象的数组。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.1.0 | wp-admin/includes/class-wp-ms-themes-list-table.php:102 | 1 | 0 |
all_themes 为WP2原创文章,链接:https://www.wp2.cn/hook/all_themes/