A WordPress-centric search engine for devs and theme authors



wp_metadata_lazyloader ›

Since4.5.0
Deprecatedn/a
wp_metadata_lazyloader ( No parameters )
Returns:
  • (WP_Metadata_Lazyloader) $lazyloader Metadata lazyloader queue.
Defined at:
Codex:

Retrieves the queue for lazy-loading metadata.



Source

function wp_metadata_lazyloader() {
	static $wp_metadata_lazyloader;

	if ( null === $wp_metadata_lazyloader ) {
		$wp_metadata_lazyloader = new WP_Metadata_Lazyloader();
	}

	return $wp_metadata_lazyloader;
}