wpseek.com
A WordPress-centric search engine for devs and theme authors



upgrader_overwrote_package › WordPress Action Hooks

Since5.5.0
Deprecatedn/a
› do_action( 'upgrader_overwrote_package', $package, $this->new_plugin_data, 'plugin' )
Parameters: (3)
  • () package The package file.
    Required: Yes
  • () data The new plugin or theme data.
    Required: Yes
  • () package_type The package type ('plugin' or 'theme').
    Required: Yes
Defined at:
Codex:

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





Source

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