current_theme_info()WP 2.0.0

Устарела с версии 3.4.0. Больше не поддерживается и может быть удалена. Используйте wp_get_theme().

Retrieves information on the current active theme.

Хуков нет.

Возвращает

WP_Theme.

Использование

current_theme_info();

Заметки

Список изменений

С версии 2.0.0 Введена.
Устарела с 3.4.0 Use wp_get_theme()

Код current_theme_info() WP 6.5.2

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

	return wp_get_theme();
}