current_theme_info(): WP_Theme

This function has been deprecated. Use wp_get_theme() instead.

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

VersionDescription
3.4.0Use wp_get_theme()
2.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.