apply_filters( 'upgrader_pre_download', bool $reply, string $package, WP_Upgrader $this )

Filters whether to return the package.


Parameters

$reply

(bool) Whether to bail without returning the package. Default false.

$package

(string) The package file name.

$this

(WP_Upgrader) The WP_Upgrader instance.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-3.7.0 Introduced.