| | 350 | |
| | 351 | /** |
| | 352 | * Filter the package options before running an update. |
| | 353 | * |
| | 354 | * @param array $options { |
| | 355 | * Options used by the upgrader. |
| | 356 | * |
| | 357 | * @type string $package Package for update. |
| | 358 | * @type string $destination Update location. |
| | 359 | * @type bool $clear_destination Clear the destination resource. |
| | 360 | * @type bool $clear_working Clear the working resource. |
| | 361 | * @type bool $abort_if_destination_exists Abort if the Destination directory exists. |
| | 362 | * @type bool $is_multi Whether the upgrader is running multiple times. |
| | 363 | * @type array $hook_extra Extra hook arguments. |
| | 364 | * } |
| | 365 | */ |
| | 366 | $options = apply_filters( 'upgrader_package_options', $options ); |