Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
從資料庫批次刪除 WooCommerce 商品資訊
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
You can’t perform that action at this time.