Docs: Clarify the fields
argument description in WP_Site_Query::__construct()
.
Props ramiy. See #35791. git-svn-id: https://develop.svn.wordpress.org/trunk@38103 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
87376166f2
commit
a64a8ea726
@ -110,8 +110,8 @@ class WP_Site_Query {
|
||||
* Default false.
|
||||
* @type array $date_query Date query clauses to limit sites by. See WP_Date_Query.
|
||||
* Default null.
|
||||
* @type string $fields Site fields to return. Accepts 'ids' for site IDs only or empty
|
||||
* for all fields. Default empty.
|
||||
* @type string $fields Site fields to return. Accepts 'ids' (returns an array of site IDs)
|
||||
* or empty (returns an array of complete site objects). Default empty.
|
||||
* @type int $ID A site ID to only return that site. Default empty.
|
||||
* @type int $number Maximum number of sites to retrieve. Default null (no limit).
|
||||
* @type int $offset Number of sites to offset the query. Used to build LIMIT clause.
|
||||
|
Loading…
Reference in New Issue
Block a user