Showing posts with label httpd. Show all posts
Showing posts with label httpd. Show all posts

Wednesday, April 17, 2024

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...