upgrader_post_install

upgrader_post_install

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('upgrader_post_install') is found 1 times:

  • /wp-admin/includes/class-wp-upgrader.php line 726
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    * @param bool  $response   Installation response.
     * @param array $hook_extra Extra arguments passed to hooked filters.
     * @param array $result     Installation result data.
     */
    $res = apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result );
     
    if ( is_wp_error( $res ) ) {
        $this->result = $res;
        return $res;
    }

See this hook used in plugins: