W3cubDocs

/WordPress

apply_filters( ‘upgrader_install_package_result’, array|WP_Error $result, array $hook_extra )

Filters the result of WP_Upgrader::install_package().

Parameters

$resultarray|WP_Error
Result from WP_Upgrader::install_package().
$hook_extraarray
Extra arguments passed to hooked filters.

Source

$result = apply_filters( 'upgrader_install_package_result', $result, $options['hook_extra'] );

Changelog

Version Description
5.7.0 Introduced.

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