Created
June 25, 2024 19:25
-
-
Save joychetry/9f405f0a801b476829904263a51feadc to your computer and use it in GitHub Desktop.
Wipe Clean WordPress Plugin
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
Before we explain the detailed way, there is a quick solution to get rid of WooCommerce data completely. | |
Open your site’s wp-config.php file through FTP or File Manager. | |
Scroll towards the bottom, add this line: | |
define(‘WC_REMOVE_ALL_DATA’, true); | |
Make sure to use straight quotation marks and add the code on its own line above the / That’s all, stop editing! Happy blogging. / line in the file, around line 76 of the file. | |
Save the file to the server. | |
Press “Deactivate” > “Delete” to remove the plugin from your admin panel. | |
You can again go back and remove the above code from the wp-config file. Then when you deactivate and delete WooCommerce it will remove all of its data from your WordPress database. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment