uninstall_plugin ( $plugin )
- (string) $plugin Path to the main plugin file from 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.