uninstall_{$file} WordPress Action Hook
The uninstall_{$file} hook is called when a plugin is uninstalled. It is passed the path of the plugin file.
do_action( "uninstall_{$file}" ) #
Fires in uninstall_plugin() once the plugin has been uninstalled.
Description
The action concatenates the ‘uninstall_’ prefix with the basename of the plugin passed to uninstall_plugin() to create a dynamically-named action.
Source
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |