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

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


Parameters

$package

The package file.

$data

The new plugin or theme data.

$package_type

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


Source

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

View on GitHub



Changelog

Changelog
Version Description
5.5.0 Introduced.