This file contains 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 FROM wp_posts WHERE | |
ID IN | |
( | |
SELECT element_id FROM wp_icl_translations WHERE element_type = 'post_attachment' AND language_code != 'en' | |
) | |
DELETE FROM wp_postmeta WHERE | |
meta_key= '_thumbnail_id' AND meta_value IN | |
( | |
SELECT element_id FROM wp_icl_translations WHERE element_type = 'post_attachment' AND language_code != 'en' |
OlderNewer