Delete Plugins

List of all plugins is fetched with  get_plugins(). WP Reset is removed from the list and is not deleted or affected by this tool. 

Active plugins are then deactivated using deactivate_plugins(). Deactivation is not silent, meaning that if a plugin has a deactivation function hooked in via register_deactivation_hook(), it will get run. After that, plugins are deleted with delete_plugins()

If a plugin has a delete function hooked via register_uninstall_hook() that function will be run and the plugin will clean-up after itself. Unfortunately, a lot of plugins do not clean after themselves so you’ll have to remove custom tables, database entries, transients, or leftover files using other WPR tools.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us