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



upgrader_pre_download › WordPress过滤钩子

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

Filters whether to return the package.





源码

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