Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/class-wp-upgrader.php | apply_filters | 574 | /** * 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
true|WP_Error | $removed | Whether the destination was cleared. |
string | $local_destination | The local package destination. |
string | $remote_destination | The remote package destination. |
array | $hook_extra | Extra arguments passed to hooked filters. |