Description
Filters whether the upgrader cleared the destination.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/class-wp-upgrader.php | 645 |
Parameters
Type | Name | Description |
---|---|---|
true|WP_Error | $removed | Whether the destination was cleared. True upon success, WP_Error on failure. |
string | $local_destination | The local package destination. |
string | $remote_destination | The remote package destination. |
array | $hook_extra | Extra arguments passed to hooked filters. |
PHP Doc
/**
* Filters whether the upgrader cleared the destination.
*
* @since 2.8.0
*
* @param true|WP_Error $removed Whether the destination was cleared.
* True upon success, WP_Error on failure.
* @param string $local_destination The local package destination.
* @param string $remote_destination The remote package destination.
* @param array $hook_extra Extra arguments passed to hooked filters.
*/