do_action( ‘upgrader_overwrote_package’, string $package, array $data, string $package_type )

In this article

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

Parameters

$packagestring
The package file.
$dataarray
The new plugin or theme data.
$package_typestring
The package type ('plugin' or 'theme').

Source

do_action( 'upgrader_overwrote_package', $package, $this->new_plugin_data, 'plugin' );

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

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