Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Aug 10th, 2018 55 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  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