I think the ’field’ parameter of tax_query should be ’term_id’ rather than ’id’

26. syyskuuta 2015 klo 12.22
Sijainti: Muut: Stack Exchange
Avainsanat: WordPress

Reading from the Codex page linked to, I think the value of ’field’ in the tax_query array should be ’term_id’ rather than ’id’: ”Possible values are ’term_id’, ’name’ and ’slug’. Default value is ’term_id’.” I’m guessing ’id’ only works because it causes a fall-back to the default.

Vastaa viestiin sen kontekstissa (Stack Exchange)