Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



upgrader_clear_destination ›

Seit2.8.0
Veraltetn/v
apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] )
Parameter: (4)
  • (mixed) $removed Whether the destination was cleared. true on success, WP_Error on failure
    Erforderlich: Ja
  • (string) $local_destination The local package destination.
    Erforderlich: Ja
  • (string) $remote_destination The remote package destination.
    Erforderlich: Ja
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether the upgrader cleared the destination.





Quellcode

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