| 542 | /** |
| 543 | * Filter the package options before running an update. |
| 544 | * |
| 545 | * @since 4.3.0 |
| 546 | * |
| 547 | * @param array $options { |
| 548 | * Options used by the upgrader. |
| 549 | * |
| 550 | * @type string $package Package for update. |
| 551 | * @type string $destination Update location. |
| 552 | * @type bool $clear_destination Clear the destination resource. |
| 553 | * @type bool $clear_working Clear the working resource. |
| 554 | * @type bool $abort_if_destination_exists Abort if the Destination directory exists. |
| 555 | * @type bool $is_multi Whether the upgrader is running multiple times. |
| 556 | * @type array $hook_extra Extra hook arguments. |
| 557 | * } |
| 558 | */ |
| 559 | $options = apply_filters( 'upgrader_package_options', $options ); |
| 560 | |