apply_filters( 'upgrader_clear_destination', mixed $removed, string $local_destination, string $remote_destination, array $hook_extra )

Filters whether the upgrader cleared the destination.

Description Description

Parameters Parameters


(mixed) Whether the destination was cleared. true on success, WP_Error on failure


(string) The local package destination.


(string) The remote package destination.


(array) Extra arguments passed to hooked filters.

Top ↑

Source Source

File: wp-admin/includes/class-wp-upgrader.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.