wpseek.com
A WordPress-centric search engine for devs and theme authors



upgrader_pre_download › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'upgrader_pre_download', false, $package, $this, $hook_extra )
Parameters: (4)
  • (bool) $reply Whether to bail without returning the package. Default false.
    Required: Yes
  • (string) $package The package file name.
    Required: Yes
  • (WP_Upgrader) $upgrader The WP_Upgrader instance.
    Required: Yes
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Required: Yes
Defined at:
Codex:

Filters whether to return the package.





Source

$reply = apply_filters( 'upgrader_pre_download', false, $package, $this, $hook_extra );