Created
January 27, 2016 11:37
-
-
Save mikaelz/9f98dcf9664c51e88900 to your computer and use it in GitHub Desktop.
Remove all WooCommerce product categories and tags
To be honest, as i understand the docs
The docs on the database are few and far between, IIRC.
The solution here leaves orphans in other tables, so is not complete. The orhpans should be perhaps have been linked via a foreign key by the original programmers to prevent such issues, but we are where we are.
I am actually woking on a project, where i need a good bunch of cleanup sql-queries, to get rid of all product, attribute category etc and also orders and customers. but the article below seems outdated:
https://www.businessbloomer.com/woocommerce-database-explained-how-it-works-and-where-to-find-data/
simply by looking i found **wc_product_attributes_lookup ** also worth for cleaning :(
if i finish the cleanup, ill try to summarize it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docs on the database are few and far between, IIRC.
The solution here leaves orphans in other tables, so is not complete. The orhpans should be perhaps have been linked via a foreign key by the original programmers to prevent such issues, but we are where we are.