Docs: Correct the description of the $network_id
in WP_Site_Query
.
Passing 0 for `network_id` results in a query across all networks. See #35791. git-svn-id: https://develop.svn.wordpress.org/trunk@38008 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2b145d5066
commit
9f254e6fb2
@ -123,8 +123,8 @@ class WP_Site_Query {
|
||||
* an empty array, or 'none' to disable `ORDER BY` clause.
|
||||
* Default 'id'.
|
||||
* @type string $order How to order retrieved sites. Accepts 'ASC', 'DESC'. Default 'ASC'.
|
||||
* @type int $network_id Limit results to those affiliated with a given network ID.
|
||||
* Default current network ID.
|
||||
* @type int $network_id Limit results to those affiliated with a given network ID. If 0,
|
||||
* include all networks. Default 0.
|
||||
* @type array $network__in Array of network IDs to include affiliated sites for. Default empty.
|
||||
* @type array $network__not_in Array of network IDs to exclude affiliated sites for. Default empty.
|
||||
* @type string $domain Limit results to those affiliated with a given domain.
|
||||
|
Loading…
Reference in New Issue
Block a user