current_theme_info()
Deprecated since 3.4.0. It is no longer supported and may be removed in future releases. Use wp_get_theme() instead.
Retrieves information on the current active theme.
No Hooks.
Returns
WP_Theme.
Usage
current_theme_info();
Notes
- See: wp_get_theme()
Changelog
| Since 2.0.0 | Introduced. |
| Deprecated since 3.4.0 | Use wp_get_theme() |
current_theme_info() current theme info code WP 6.9.1
function current_theme_info() {
_deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' );
return wp_get_theme();
}