mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Various inline documentation corrections and improvements.
See #53399 git-svn-id: https://develop.svn.wordpress.org/trunk@52332 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -94,8 +94,8 @@ class WP_Term_Query {
|
||||
* @param string|array $query {
|
||||
* Optional. Array or query string of term query parameters. Default empty.
|
||||
*
|
||||
* @type string|array $taxonomy Taxonomy name, or array of taxonomies, to which results should
|
||||
* be limited.
|
||||
* @type string|string[] $taxonomy Taxonomy name, or array of taxonomy names, to which results
|
||||
* should be limited.
|
||||
* @type int|int[] $object_ids 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:
|
||||
@@ -148,9 +148,9 @@ class WP_Term_Query {
|
||||
* Default 'all'.
|
||||
* @type bool $count Whether to return a term count. If true, will take precedence
|
||||
* over `$fields`. Default false.
|
||||
* @type string|array $name Name or array of names to return term(s) for.
|
||||
* @type string|string[] $name Name or array of names to return term(s) for.
|
||||
* Default empty.
|
||||
* @type string|array $slug Slug or array of slugs to return term(s) for.
|
||||
* @type string|string[] $slug Slug or array of slugs to return term(s) for.
|
||||
* Default empty.
|
||||
* @type int|int[] $term_taxonomy_id Term taxonomy ID, or array of term taxonomy IDs,
|
||||
* to match when querying terms.
|
||||
|
||||
Reference in New Issue
Block a user