过滤要在多站点主题列表中列出的完整WP_Theme对象数组。
原型
apply_filters( 'all_themes', array $all )
参数
$all
(array)
要在列表中显示的WP_Theme对象数组。
源文件
路径:wp-admin/includes/class-wp-ms-themes-list-table.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/all_themes/
过滤要在多站点主题列表中列出的完整WP_Theme对象数组。
apply_filters( 'all_themes', array $all )
$all
(array)
要在列表中显示的WP_Theme对象数组。
路径:wp-admin/includes/class-wp-ms-themes-list-table.php
英文文档:https://developer.wordpress.org/reference/hooks/all_themes/
请在后台设置小工具!