Cleanup: best way to remove WooCommerce comments from the wp_comments table

To delete rows in your wp_comments you can use an SQL statement like so DELETE FROM wp_comments where comment_date < ‘2016-01-01’ and comment_type=”order_notes” This will delete all comments older than January 1st 2016. I do believe Woocommerce uses order_notes as a comment_type make sure by checking that column before running the statement. Of course, you … Read more