Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT SQL_CALC_FOUND_ROWS olbma_posts.ID FROM olbma_posts INNER JOIN olbma_postmeta ON ( olbma_posts.ID = olbma_postmeta.post_id ) WHERE 1=1 AND (
- ( olbma_postmeta.meta_key = ‘_tax_class’ AND olbma_postmeta.meta_value = ‘’ )
- ) AND olbma_posts.post_type IN (‘product’, ‘product_variation’) AND ((olbma_posts.post_status = ‘publish’ OR olbma_posts.post_status = ‘draft’ OR olbma_posts.post_status = ‘pending’ OR olbma_posts.post_status = ‘inherit’ OR olbma_posts.post_status = ‘private’)) GROUP BY olbma_posts.ID ORDER BY olbma_posts.post_date DESC LIMIT 0, 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement