Changeset 48104 for trunk/src/wp-includes/class-wp-network-query.php
- Timestamp:
- 06/20/2020 12:00:07 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-network-query.php
r48102 r48104 170 170 * 171 171 * @param string|array $query Array or URL query string of parameters. 172 * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids',172 * @return array|int List of WP_Network objects, a list of network IDs when 'fields' is set to 'ids', 173 173 * or the number of networks when 'count' is passed as a query var. 174 174 */ … … 183 183 * @since 4.6.0 184 184 * 185 * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids',185 * @return array|int List of WP_Network objects, a list of network IDs when 'fields' is set to 'ids', 186 186 * or the number of networks when 'count' is passed as a query var. 187 187 */ … … 207 207 * The expected return type from this filter depends on the value passed in the request query_vars. 208 208 * When `$this->query_vars['count']` is set, the filter should return the network count as an int. 209 * When `'ids' === $this->query_vars['fields']`, the filter should return an array of network ids.209 * When `'ids' === $this->query_vars['fields']`, the filter should return an array of network IDs. 210 210 * Otherwise the filter should return an array of WP_Network objects. 211 211 *
Note: See TracChangeset
for help on using the changeset viewer.