# install_themes_feature_list()

URL: https://chugunov.pro/api-wordpress/functions/install_themes_feature_list/
Проверено на WordPress 6.9, обновлено 06.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией WordPress.

Тип: функция.
Появился в версии: 2.8.0.

> Устаревший элемент. Помечен устаревшим с версии 3.1.0.

## Сигнатура

```php
install_themes_feature_list(): array
```

## Описание

Получает список возможностей тем WordPress (также известных как теги тем).

## Возвращаемое значение

`array`

## Исходный код

Файл: `wp-admin/includes/theme-install.php:62`

```php
function install_themes_feature_list() {
	_deprecated_function( __FUNCTION__, '3.1.0', 'get_theme_feature_list()' );

	$cache = get_transient( 'wporg_theme_feature_list' );
	if ( ! $cache ) {
		set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS );
	}

	if ( $cache ) {
		return $cache;
	}

	$feature_list = themes_api( 'feature_list', array() );
	if ( is_wp_error( $feature_list ) ) {
		return array();
	}

	set_transient( 'wporg_theme_feature_list', $feature_list, 3 * HOUR_IN_SECONDS );

	return $feature_list;
}
```

## История изменений

- 3.1.0 — Deprecated. Use get_theme_feature_list() instead.
- 2.8.0 — Introduced.

## Связанные

Использует: [`themes_api`](https://chugunov.pro/api-wordpress/functions/themes_api/), [`get_transient`](https://chugunov.pro/api-wordpress/functions/get_transient/), [`set_transient`](https://chugunov.pro/api-wordpress/functions/set_transient/), [`_deprecated_function`](https://chugunov.pro/api-wordpress/functions/_deprecated_function/), [`is_wp_error`](https://chugunov.pro/api-wordpress/functions/is_wp_error/).

Оригинал в официальной документации: https://developer.wordpress.org/reference/functions/install_themes_feature_list/
