Uma área de pesquisa sobre o WordPress para devs e autores do tema



upgrader_post_install ›

Desde2.8.0
Obsoleton/a
apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result )
Parâmetros: (3)
  • (bool) $response Installation response.
    Required: Yes
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Required: Yes
  • (array) $result Installation result data.
    Required: Yes
Definido em:
Codex:

Filters the installation response after the installation has finished.





Fonte

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