apply_filters( ‘upgrader_clear_destination’, true|WP_Error $removed, string $local_destination, string $remote_destination, array $hook_extra )

In this article

Filters whether the upgrader cleared the destination.

Parameters

$removedtrue|WP_Error
Whether the destination was cleared.
True upon success, WP_Error on failure.
$local_destinationstring
The local package destination.
$remote_destinationstring
The remote package destination.
$hook_extraarray
Extra arguments passed to hooked filters.

Source

$removed = apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

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