upgrader_post_install

过滤钩子


apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result )
参数
  • (bool)
    $response
    Installation response.
    Required:
  • (array)
    $hook_extra
    Extra arguments passed to hooked filters.
    Required:
  • (array)
    $result
    Installation result data.
    Required:
定义位置
  • wp-admin/includes/class-wp-upgrader.php
    , line 642
引入
2.8.0
弃用

Filters the installation response after the installation has finished.

$res = apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result );