wp_lazyload_site_meta( array $site_ids )

In this article

Queue site meta for lazy-loading.

Parameters

$site_idsarrayrequired
List of site IDs.

Source

function wp_lazyload_site_meta( array $site_ids ) {
	if ( empty( $site_ids ) ) {
		return;
	}
	$lazyloader = wp_metadata_lazyloader();
	$lazyloader->queue_objects( 'blog', $site_ids );
}

Changelog

VersionDescription
6.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.