Docs: Document the term_order value for the orderby parameter of WP_Term_Query::__construct().

Props pbiron.
See #49572.

git-svn-id: https://develop.svn.wordpress.org/trunk@47898 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-06-03 14:39:05 +00:00
parent d57084755d
commit de3fd5b242

View File

@ -98,7 +98,8 @@ class WP_Term_Query {
* limited to terms associated with these objects.
* @type string $orderby Field(s) to order terms by. Accepts:
* - term fields ('name', 'slug', 'term_group', 'term_id', 'id',
* 'description', 'parent').
* 'description', 'parent', 'term_order'). Unless `$object_ids`
* is not empty, 'term_order' is treated the same as 'term_id'.
* - 'count' for term taxonomy count.
* - 'include' to match the 'order' of the $include param.
* - 'slug__in' to match the 'order' of the $slug param.