uninstall_plugin


uninstall_plugin ( $plugin )

Parameters:
  • (string) $plugin Path to the main plugin file from plugins directory.
Returns:
  • (true) True if a plugin's uninstall.php file has been found and included.
Defined at:

Description

Uninstall a single plugin.

Calls the uninstall hook, if it is available.

Related Functions

is_uninstallable_plugin, wp_ajax_install_plugin, install_plugins_upload, install_blog, install_plugin_information

Top Google Results

User discussions

wpseek mobile