apply_filters( 'upgrader_pre_download', bool $reply , string $package , WP_Upgrader $upgrader , array $hook_extra )
Filters whether to return the package.
Parameters
- $reply
-
Whether to bail without returning the package.<br> Default false.
- $package
-
The package file name.
- $upgrader
-
The WP_Upgrader instance.
- $hook_extra
-
Extra arguments passed to hooked filters.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Added the $hook_extra parameter. |
3.7.0 | Introduced. |