A WordPress-centric search engine for devs and theme authors



upgrader_clear_destination ›

Since2.8.0
Deprecatedn/a
apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] )
Parameters: (4)
  • (mixed) $removed Whether the destination was cleared. true on success, WP_Error on failure
    Required: Yes
  • (string) $local_destination The local package destination.
    Required: Yes
  • (string) $remote_destination The remote package destination.
    Required: Yes
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Required: Yes
Defined at:
Codex:

Filters whether the upgrader cleared the destination.





Source

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