Opened 13 years ago
Closed 12 years ago
#26708 closed feature request (wontfix)
menu_order support for get_terms orderby arguments
| Reported by: | tubiz | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | 3.8 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Can menu_order support be added to the orderby arguments when using get_terms.
Presently orderby only supports id, count, name - Default, slug,term_group - Not fully implemented (avoid using) and none
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
get_terms()does not join onwp_term_relationships(), so you would have to filter'terms_clauses'and write custom SQL logic to reachterm_order, which can change based on which post the terms are related to.get_terms()is not intended to relate to specific posts.