wpseek.com
WordPress开发者和主题制作者的搜索引擎



upgrader_overwrote_package › WordPress动作钩子

Since5.5.0
已弃用n/a
› do_action( 'upgrader_overwrote_package', $package, $this->new_plugin_data, 'plugin' )
参数: (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
定义在:
文档:

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





源码

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