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 Parameters


(string) The package file.


(array) The new plugin or theme data.


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

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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