upgrader_overwrote_package

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$package

(string) The package file.

$new_theme_data

(array) The new theme data.

$package_type

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

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.