函数原型
current_theme_info(): WP_Theme
函数描述
Retrieves information on the current active theme.
是否弃用
Warning: This function has been deprecated. Use wp_get_theme() instead.
函数参数
无
函数返回值
WP_Theme
函数位置
File: wp-admin/includes/deprecated.php.
函数源码
function current_theme_info() {
_deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' );
return wp_get_theme();
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.4.0 | Use wp_get_theme() |
| 2.0.0 | Introduced. |

