Warning: This function has been deprecated. Use wp_get_theme() instead.
current_theme_info() WordPress Function
The current_theme_info() function is used to get information about the current theme. This function returns an array of information about the theme, including the name, version, author, etc.
current_theme_info() #
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(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.4.0 | Use wp_get_theme() |
2.0.0 | Introduced. |