wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_lazyload_site_meta › WordPress Function

Since6.3.0
Deprecatedn/a
wp_lazyload_site_meta ( $site_ids )
Parameters:
  • (array) $site_ids List of site IDs.
    Required: Yes
Defined at:
Codex:

Queue site meta for lazy-loading.



Source

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