daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select distinct(tt.term_taxonomy_id) as categs from
  2. wp_term_relationships tr
  3. left outer join wp_term_taxonomy tt on tt.term_id = tr.term_taxonomy_id
  4. left outer join wp_terms on wp_terms.term_id = tr.term_taxonomy_id
  5. where object_id in('" . $contatos_cod . "') and tt.taxonomy = 'product_cat' and parent > 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top