uninstall_plugin ( $plugin )
- (string) plugin Path to the plugin file relative to the plugins directory.
- (true|void) True if a plugin's uninstall.php file has been found and included. Void otherwise.
- Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Uninstalls a single plugin.Calls the uninstall hook, if it is available.