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

Top ↑

See also


Top ↑

Return

(WP_Theme)


Top ↑

Source

File: wp-admin/includes/deprecated.php

function current_theme_info() {
	_deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' );

	return wp_get_theme();
}


Top ↑

Changelog

Changelog
VersionDescription
3.4.0Use wp_get_theme()
2.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More