W3cubDocs

/WordPress

do_action( 'upgrader_overwrote_package', string $package, array $new_plugin_data, string $package_type )

Fires when the upgrader has successfully overwritten a currently installed plugin or theme with an uploaded zip package.

Parameters

$package

(string) The package file.

$new_plugin_data

(array) The new plugin data.

$package_type

(string) The package type (plugin or theme).

Source

File: wp-admin/includes/class-plugin-upgrader.php

View on Trac

Changelog

Version Description
5.5.0 Introduced.

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