Properly Uninstall WooCommerce Plugin



There are two things to understand when uninstalling or removing WooCommerce.
  • If you deactivate and delete the plugin from WordPress, you only remove the plugin and its files. Your settings, database tables, and pages created when first installed will still exist.
  • If you need to remove ALL WooCommerce data, including products, order data, etc., you need to be able to modify the site’s wp-config.php file and add a constant and set it as true.

Open your site’s wp-config file and add define( 'WC_REMOVE_ALL_DATA', true); on its own line above the /* That’s all, stop editing! Happy blogging. */ line. Then when you deactivate and delete WooCommerce it will remove all of its data.


Previous
Next Post »

1 comments:

Write comments
Bhavesh Kavad
AUTHOR
June 28, 2018 at 11:30 AM delete

Thank you for sharing excellent information. Your website is very cool. Fully useful your blog post... Online shopping site for women's clothing in india

Reply
avatar