upgrader_pre_download

Advertisement

Summery Summery

Filters whether to return the package.

Syntax Syntax

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

Parameters 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.

$hook_extra

(array) Extra arguments passed to hooked filters.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Added the $hook_extra parameter.
3.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.