WordPress at Your Fingertips
filter is not described

upgrader_install_package_result filter-hook . WP 5.7.0

Filters the result of WP_Upgrader::install_package().

Usage

add_filter( 'upgrader_install_package_result', 'filter_function_name_58', 10, 2 );
function filter_function_name_58( $result, $hook_extra ){
	// filter...

	return $result;
}
$result(array|WP_Error)
Result from WP_Upgrader::install_package().
$hook_extra(array)
Extra arguments passed to hooked filters.

Changelog

Since 5.7.0 Introduced.

Where the hook is called

WP_Upgrader::run()
upgrader_install_package_result
wp-admin/includes/class-wp-upgrader.php 809
$result = apply_filters( 'upgrader_install_package_result', $result, $options['hook_extra'] );

Where in WP core the hook is used WordPress

Usage not found.