wpseek.com
A WordPress-centric search engine for devs and theme authors



upgrader_clear_destination › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] )
Parameters: (4)
  • (true|WP_Error) $removed Whether the destination was cleared. True upon 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'] );