current_theme_info()
Устарела с версии 3.4.0. Больше не поддерживается и может быть удалена. Используйте wp_get_theme().
Retrieves information on the current active theme.
Хуков нет.
Возвращает
WP_Theme
.
Использование
current_theme_info();
Заметки
- Смотрите: wp_get_theme()
Список изменений
С версии 2.0.0 | Введена. |
Устарела с 3.4.0 | Use wp_get_theme() |
Код current_theme_info() current theme info WP 6.1.1
function current_theme_info() { _deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' ); return wp_get_theme(); }