Created
April 13, 2017 07:29
-
-
Save nczz/2d0278eea2ad031bc3f4ed9f3a7c605d to your computer and use it in GitHub Desktop.
從資料庫批次刪除 WooCommerce 商品資訊
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE wp_posts,wp_postmeta | |
FROM wp_posts | |
INNER JOIN wp_postmeta ON wp_posts.ID=wp_postmeta.post_id | |
WHERE wp_posts.post_type LIKE 'product'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment