A WordPress-centric search engine for devs and theme authors



upgrader_pre_download ›

Since3.7.0
Deprecatedn/a
apply_filters( 'upgrader_pre_download', false, $package, $this )
Parameters: (3)
  • (bool) $reply Whether to bail without returning the package. Default false.
    Required: Yes
  • (string) $package The package file name.
    Required: Yes
  • (WP_Upgrader) $this The WP_Upgrader instance.
    Required: Yes
Defined at:
Codex:

Filters whether to return the package.





Source

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