检索有关当前活动主题的信息。
原型
current_theme_info()
返回值
(WP_Theme)
源文件
路径:wp-admin/includes/deprecated.php
<?php
...
function current_theme_info() {
_deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' );
return wp_get_theme();
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/current_theme_info/