-
-
Save weszty/0576fe1e22a8f85a166e822e8019e151 to your computer and use it in GitHub Desktop.
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, orders, products, pages, etc… will still exist in the database.
* If you need to remove ALL WooCommerce data, including products, order data, etc., you ne…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
* 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. | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |
define( 'WC_REMOVE_ALL_DATA', true); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment