How to delete all WooCommerce attributes

To delete all WooCommerce attributes login to phpMyAdmin and run this SQL. DELETE FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE taxonomy LIKE ‘pa_%’); DELETE FROM wp_term_taxonomy WHERE taxonomy LIKE ‘pa_%’; DELETE FROM wp_term_relationships WHERE term_taxonomy_id not IN (SELECT term_taxonomy_id FROM...