Taxonomy: Fix $object_ids
reference in WP_Term_Query
parameter documentation.
Props dlh. Fixes #44200. git-svn-id: https://develop.svn.wordpress.org/trunk@43308 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
879453da2a
commit
acebda9aa5
@ -123,8 +123,8 @@ class WP_Term_Query {
|
||||
* @type int $offset The number by which to offset the terms query. Default empty.
|
||||
* @type string $fields Term fields to query for. Accepts 'all' (returns an array of
|
||||
* complete term objects), 'all_with_object_id' (returns an
|
||||
* array of term objects with the 'object_id' param; only works
|
||||
* when the `$fields` parameter is 'object_ids' ), 'ids'
|
||||
* array of term objects with the 'object_id' param; works only
|
||||
* when the `$object_ids` parameter is populated), 'ids'
|
||||
* (returns an array of ids), 'tt_ids' (returns an array of
|
||||
* term taxonomy ids), 'id=>parent' (returns an associative
|
||||
* array with ids as keys, parent term IDs as values), 'names'
|
||||
|
Loading…
Reference in New Issue
Block a user