apply_filters( 'upgrader_install_package_result', array|WP_Error $result, array $hook_extra )

Filters the result of WP_Upgrader::install_package().

Parameters

$result

(array|WP_Error) Result from WP_Upgrader::install_package().

$hook_extra

(array) Extra arguments passed to hooked filters.

Source

File: wp-admin/includes/class-wp-upgrader.php

View on Trac

Changelog

Version Description
5.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/upgrader_install_package_result