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



upgrader_pre_install › WordPress过滤钩子

Since2.8.0
已弃用n/a
› apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] )
参数: (2)
  • () response Installation response.
    Required: Yes
  • () hook_extra Extra arguments passed to hooked filters.
    Required: Yes
定义在:
文档:

Filters the installation response before the installation has started.

Returning a value that could be evaluated as a `WP_Error` will effectively short-circuit the installation, returning that value instead.




源码

$res = apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] );