apply_filters( 'upgrader_clear_destination', mixed $removed , string $local_destination , string $remote_destination , array $hook_extra )
Filters whether the upgrader cleared the destination.
Parameters
- $removed
-
Whether the destination was cleared. true on success, WP_Error on failure
- $local_destination
-
The local package destination.
- $remote_destination
-
The remote package destination.
- $hook_extra
-
Extra arguments passed to hooked filters.
Source
Changelog
Version | Description |
---|---|
WP-2.8.0 | Introduced. |