WP_Site_Query::get_site_ids

SummerySummery

Used internally to get a list of site IDs matching the query vars.

Syntax

WP_Site_Query::get_site_ids()

ReturnReturn

(int|array) A single count of site IDs if a count query. An array of site IDs if a full query.

SourceSource

File: wp-includes/class-wp-site-query.php


			

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top