upgrader_install_package_result

upgrader_install_package_result

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('upgrader_install_package_result') is found 1 times:

  • /wp-admin/includes/class-wp-upgrader.php line 913
    909
    910
    911
    912
    913
    914
    915
    916
    917
    918
    919
    *
     * @param array|WP_Error $result     Result from WP_Upgrader::install_package().
     * @param array          $hook_extra Extra arguments passed to hooked filters.
     */
    $result = apply_filters( 'upgrader_install_package_result', $result, $options['hook_extra'] );
     
    $this->skin->set_result( $result );
     
    if ( is_wp_error( $result ) ) {
        // An automatic plugin update will have already performed its rollback.
        if ( ! empty( $options['hook_extra']['temp_backup'] ) ) {