W3cubDocs

/WordPress

wp_metadata_lazyloader()

Retrieves the queue for lazy-loading metadata.

Return

(WP_Metadata_Lazyloader) Metadata lazyloader queue.

Source

File: wp-includes/meta.php

function wp_metadata_lazyloader() {
	static $wp_metadata_lazyloader;

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

	return $wp_metadata_lazyloader;
}

Changelog

Version Description
4.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_metadata_lazyloader