W3cubDocs

/WordPress

current_theme_info(): WP_Theme

Retrieves information on the current active theme.

Description

See also

Return

WP_Theme

Source

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–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/current_theme_info