$replybool$packagestring$upgraderWP_Upgrader$hook_extraarraywp-admin/includes/class-wp-upgrader.php:320WP_Upgrader::download_package() * @param bool $reply Whether to bail without returning the package. * Default false. * @param string $package The package file name. * @param WP_Upgrader $upgrader The WP_Upgrader instance. * @param array $hook_extra Extra arguments passed to hooked filters. */ $reply = apply_filters( 'upgrader_pre_download', false, $package, $this, $hook_extra ); if ( false !== $reply ) { return $reply; } if ( ! preg_match( '!^(http|https|ftp)://!i', $package ) && file_exists( $package ) ) { // Local file or remote? return $package; // Must be a local file.Introduced in 3.7.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$reply retyped from bool to false|string|WP_Error.verified against source$hook_extra parameter.from the docblock