20

I was just reading the Codex regarding get_terms();. What exactly is the parameter 'term_group'?

You can use it in (example): 'order_by' for get_terms();.

Hint: I could be all terms that share the same names, but have different slugs.

3
  • I asked again/parallel on the wp-hackers mailing list.
    – kaiser
    Jul 24, 2011 at 15:28
  • The bottom line is... don't use it, as it's not currently supported and term aliasing is neither currently supported either, nor is it fully thought through and has a bunch of nasty pitfalls to boot. Codex updated.
    – Tom Auger
    May 22, 2013 at 14:37
  • Answer from @otto on wp.org
    – Sisir
    Jan 8, 2014 at 11:35

1 Answer 1

14

The idea of term groups was to have a term with multiple aliases.

This feature doesn't seem to be fully backed and is therefore practically never used.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.