upgrader_clear_destination, $removed, $local_destination, $remote_destination, $args[hook_extra]

upgrader_clear_destination, $removed, $local_destination, $remote_destination, $args[hook_extra]

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('upgrader_clear_destination, $removed, $local_destination, $remote_destination, $args[hook_extra]') is found 1 times:

  • /wp-admin/includes/class-wp-upgrader.php line 663
    			 * @param string        $local_destination  The local package destination.
    			 * @param string        $remote_destination The remote package destination.
    			 * @param array         $hook_extra         Extra arguments passed to hooked filters.
    			 */
    			$removed = apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] );
    
    			if ( is_wp_error( $removed ) ) {
    				return $removed;
    			}
    		} elseif ( $args['abort_if_destination_exists'] && $wp_filesystem->exists( $remote_destination ) ) {
    			/*