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