# install_themes_upload()

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

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

## Сигнатура

```php
install_themes_upload()
```

## Описание

Выводит форму для загрузки тем из ZIP-файлов.

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

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

```php
function install_themes_upload() {
	?>
<p class="install-help"><?php _e( 'If you have a theme in a .zip format, you may install or update it by uploading it here.' ); ?></p>
<form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo esc_url( self_admin_url( 'update.php?action=upload-theme' ) ); ?>">
	<?php wp_nonce_field( 'theme-upload' ); ?>
	<label class="screen-reader-text" for="themezip">
		<?php
		/* translators: Hidden accessibility text. */
		_e( 'Theme zip file' );
		?>
	</label>
	<input type="file" id="themezip" name="themezip" accept=".zip" />
	<?php submit_button( _x( 'Install Now', 'theme' ), '', 'install-theme-submit', false ); ?>
</form>
	<?php
}
```

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

- 2.8.0 — Introduced.

## Связанные

Использует: [`submit_button`](https://chugunov.pro/api-wordpress/functions/submit_button/), [`wp_nonce_field`](https://chugunov.pro/api-wordpress/functions/wp_nonce_field/), [`self_admin_url`](https://chugunov.pro/api-wordpress/functions/self_admin_url/), [`_e`](https://chugunov.pro/api-wordpress/functions/_e/), [`_x`](https://chugunov.pro/api-wordpress/functions/_x/), [`esc_url`](https://chugunov.pro/api-wordpress/functions/esc_url/).

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