current_theme_info()
This function has been deprecated. Use wp_get_theme() instead.
Retrieves information on the current active theme.
Description
See also
Return
(WP_Theme)
Source
File: wp-admin/includes/deprecated.php
function current_theme_info() {
_deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' );
return wp_get_theme();
} Changelog
| Version | Description |
|---|---|
| 3.4.0 | Use wp_get_theme() |
| 2.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/current_theme_info