Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Answer from @otto on wp.org –  Sisir Jan 8 at 11:35
add comment

2 Answers

up vote 3 down vote accepted

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.

share|improve this answer
add comment

I asked again/parallel on the wp-hackers mailing list.

share|improve this answer
1  
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 '13 at 14:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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