mirror of
git://develop.git.wordpress.org/
synced 2025-04-15 09:32:21 +02:00
Docs: Include 'parent' as an acceptable entry for the $orderby
argument in WP_Term_Query
.
h/t kalor. See #41017. git-svn-id: https://develop.svn.wordpress.org/trunk@40900 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5741c2f6c1
commit
7ecfb17115
@ -104,7 +104,7 @@ class WP_Term_Query {
|
||||
* @type int|array $object_ids Optional. Object ID, or array of object IDs. Results will be
|
||||
* 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'),
|
||||
* 'slug', 'term_group', 'term_id', 'id', 'description', 'parent'),
|
||||
* 'count' for term taxonomy count, 'include' to match the
|
||||
* 'order' of the $include param, 'meta_value', 'meta_value_num',
|
||||
* the value of `$meta_key`, the array keys of `$meta_query`, or
|
||||
|
Loading…
x
Reference in New Issue
Block a user