Showing posts with label Random Alpha Numeric Strings. Show all posts
Showing posts with label Random Alpha Numeric Strings. Show all posts

Wednesday, January 5, 2022

SQL to delete all WooCommerce products except those with "draft" status

 -- Disable foreign key checks (important for InnoDB) SET     FOREIGN_KEY_CHECKS = 0;     -- Delete product meta DELETE     pm FROM     wp_p...