uninstall_plugin


uninstall_plugin ( $plugin )

Parameters:
  • (string) plugin Path to the plugin file relative to the plugins directory.
Returns:
  • (true|void) True if a plugin's uninstall.php file has been found and included. Void otherwise.
Defined at:

Description

Uninstalls a single plugin.Calls the uninstall hook, if it is available.

Related Functions

is_uninstallable_plugin, install_plugins_upload, wp_ajax_install_plugin, install_blog, install_plugin_information

Top Google Results

User discussions

wpseek mobile