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

In this article

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

VersionDescription
5.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.