Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Child ID Search

searching for the child ID instead of name

// WP_Site_Query arguments
$args = array(
	'domain__in'        => array( 'www.kidsalive.org', 'secure.kidsalive.org' ),
	'search'            => 'sku',
	'search_columns'    => array( 'sku' ),
	'public'            => '1',
	'order'             => 'ASC',
	'count'             => true,
	'update_site_cache' => true,
	'no_found_rows'     => true,
);

// The Site Query
$site_query_childID = new WP_Site_Query( $args );

// The Loop
if ( $site_query_childID ) {
	foreach ( $site_query_childID as $site ) {
		// do something
	}
}