[wp-trac] [WordPress Trac] #63890: Add multiple order conditions to WP_Term_Query

WordPress Trac noreply at wordpress.org
Wed Aug 27 14:00:49 UTC 2025


#63890: Add multiple order conditions to WP_Term_Query
-------------------------+-----------------------------
 Reporter:  oglekler     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Now WP_Term_Query accepts orderby only as a string, as WP_Query accepts an
 array.

 Use case: I need to sort by term meta plus title. I cannot sort after
 getting the terms because I am not getting meta with terms, and requesting
 meta for each term will be unproductive.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63890>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list