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

Filters whether the upgrader cleared the destination.


Parameters

$removed true|WP_Error
Whether the destination was cleared.
True upon success, WP_Error on failure.
$local_destination string
The local package destination.
$remote_destination string
The remote package destination.
$hook_extra array
Extra arguments passed to hooked filters.

Top ↑

Source

File: wp-admin/includes/class-wp-upgrader.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes

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