Making WordPress.org

Opened 4 weeks ago

#4347 new enhancement

"Order & Orderby Parameters" section in manually curated part of the code reference for WP_Query doesn't mention ordering by meta_query clauses

Reported by: pbiron Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords:


WP 4.2 introduced the ability to "name" clauses in meta_query and to use those "names" in orderby.

It would be nice if the "Order & Orderby Parameters" mentioned that ability and gave an example of its use.

The last example in that section (as of 2019-03-29) does include a meta_query but the orderby in that example is meta_value_num and not a "named" clause in the meta_query.

Change History (0)

Note: See TracTickets for help on using tickets.