# Updater::pre_download()

Replace the placeholder package with the real, single-use download.

```php
pre_download( $reply, $package, $upgrader, $hook_extra )
```

## Parameters

- `$reply` (bool|string|\WP_Error) Value so far (`false` to proceed with the default download).
- `$package` (string) Package address.
- `$upgrader` (\WP_Upgrader) Upgrader.
- `$hook_extra` (array<string, mixed>) Extra data.

## Return

`bool|string|\WP_Error` Path of the downloaded zip, or an error.

## Changelog

| Version | Description |
| --- | --- |
| 1.6.0 | Introduced |
