upgrader_clear_destination

Advertisement

Summery Summery

Filters whether the upgrader cleared the destination.

Syntax Syntax

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

Parameters 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.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.