bfsg_check_img_alt() SELECT count(id) AS count FROM ooim_posts WHERE post_type = 'attachment' AND post_mime_type NOT IN ('application/pdf', 'text/css', 'application/json') AND SUBSTR(guid, -4, 4) NOT IN ('.txt', '.ttf', 'html', 'woff', '.eot', '.svg', 'webp', 'aaa') count = 4986
SELECT id, post_name, post_content, post_mime_type, guid FROM ooim_posts WHERE post_type = 'attachment' AND post_mime_type NOT IN ('application/pdf', 'text/css', 'application/json') AND SUBSTR(guid, -4, 4) NOT IN ('.txt', '.ttf', 'html', 'woff', '.eot', '.svg', 'webp', 'aaa') AND id >= 0 AND id <= 18000 ORDER By id ASC LIMIT 18000