uninstall_{$file}

动作钩子


do_action( "uninstall_{$file}" )
定义位置
  • wp-admin/includes/plugin.php
    , line 1265
引入
2.7.0
弃用

Fires in uninstall_plugin() once the plugin has been uninstalled.

The action concatenates the ‘uninstall_’ prefix with the basename of the
plugin passed to uninstall_plugin() to create a dynamically-named action.

do_action( "uninstall_{$file}" );