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



delete_plugin ›

Since4.4.0
已弃用n/a
do_action( 'delete_plugin', $plugin_file )
参数:
  • (string) $plugin_file Path to the plugin file relative to the plugins directory.
    Required: Yes
定义在:
文档:

Fires immediately before a plugin deletion attempt.





源码

do_action( 'delete_plugin', $plugin_file );