// If querying for a count only, there's nothing more to do.
if ( $this->query_vars
['count'
] ) { // $site_ids is actually a count in this case.
return (int) $site_ids;
} $site_ids =
array_map( 'intval',
$site_ids );
if ( $this->query_vars
['update_site_meta_cache'
] ) { wp_lazyload_site_meta( $site_ids );
} if ( 'ids' ===
$this->query_vars
['fields'
] ) { $this->sites =
$site_ids;
return $this->sites;
} // Prime site network caches.
if ( $this->query_vars
['update_site_cache'
] ) { _prime_site_caches( $site_ids, false
);
}