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

The package file.

$new_theme_data

The new theme data.

$package_type

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