Fires when the upgrader has successfully overwritten a currently installed plugin or theme with an uploaded zip package.
$packagestring$dataarray$package_typestringwp-admin/includes/class-plugin-upgrader.php:169Plugin_Upgrader::install()wp-admin/includes/class-theme-upgrader.php:274Theme_Upgrader::install() * @since 5.5.0 * * @param string $package The package file. * @param array $data The new plugin or theme data. * @param string $package_type The package type ('plugin' or 'theme'). */ do_action( 'upgrader_overwrote_package', $package, $this->new_plugin_data, 'plugin' ); } return true; } /**Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.