Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete plugin data after removing from Wordpress

I am using a WooCommerce plugin (WooCommerce Currency Switcher) that I want to delete completely and then reinstall. When I install the plugin again, it remembers all of its previous settings.

How can I delete all of a plugin's data, even after completely removing it from WordPress?

I've searched and learned that some plugins will not delete their data from the database themselves. Is there a plugin available that will remove the data of deleted plugins?

like image 754
Sonia Khan Avatar asked May 11 '16 12:05

Sonia Khan


1 Answers

There are two things to understand when uninstalling WooCommerce.

1) If you deactivate and delete the plugin from the WordPress Admin, you are deleting WooCommerce settings and database tables, and trashing the pages created when first installed.

2) If you need to remove ALL WooCommerce data, including products, order data, etc., go to: WooCommerce > System Status > Tools, and enable the Remove post types on uninstall. Doing this deletes all WooCommerce data when you deactivate and delete the plugin from the WordPress Admin.

like image 128
Bhavik Avatar answered Oct 10 '22 12:10

Bhavik