WordPress at a glance
filter is not described

upgrader_post_install filter-hook . WP 2.8.0

Filters the installation response after the installation has finished.

Usage

add_filter( 'upgrader_post_install', 'filter_function_name_9410', 10, 3 );
function filter_function_name_9410( $response, $hook_extra, $result ){
	// filter...

	return $response;
}
$response(true/false)
Installation response.
$hook_extra(array)
Extra arguments passed to hooked filters.
$result(array)
Installation result data.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

WP_Upgrader::install_package()
upgrader_post_install
wp-admin/includes/class-wp-upgrader.php 621
$res = apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result );

Where in WP core the hook is used

wp-admin/includes/class-plugin-upgrader.php 172
add_filter( 'upgrader_post_install', array( $this, 'active_after' ), 10, 2 );
wp-admin/includes/class-plugin-upgrader.php 199
remove_filter( 'upgrader_post_install', array( $this, 'active_after' ) );
wp-admin/includes/class-theme-upgrader.php 213
add_filter( 'upgrader_post_install', array( $this, 'check_parent_theme_filter' ), 10, 3 );
wp-admin/includes/class-theme-upgrader.php 234
remove_filter( 'upgrader_post_install', array( $this, 'check_parent_theme_filter' ) );
wp-admin/includes/class-theme-upgrader.php 284
add_filter( 'upgrader_post_install', array( $this, 'current_after' ), 10, 2 );
wp-admin/includes/class-theme-upgrader.php 307
remove_filter( 'upgrader_post_install', array( $this, 'current_after' ) );
wp-admin/includes/class-theme-upgrader.php 348
add_filter( 'upgrader_post_install', array( $this, 'current_after' ), 10, 2 );
wp-admin/includes/class-theme-upgrader.php 441
remove_filter( 'upgrader_post_install', array( $this, 'current_after' ) );