WordPress开发者和主题制作者的搜索引擎



upgrader_pre_download ›

Since3.7.0
已弃用n/a
apply_filters( 'upgrader_pre_download', false, $package, $this )
参数: (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
定义在:
文档:

Filters whether to return the package.





源码

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