wp_metadata_lazyloader

Retrieves the queue for lazy-loading metadata.

Description

(WP_Metadata_Lazyloader) wp_metadata_lazyloader(); 

Returns (WP_Metadata_Lazyloader)

$lazyloader Metadata lazyloader queue.


Usage

  1. if ( !function_exists( 'wp_metadata_lazyloader' ) ) { 
  2. require_once ABSPATH . WPINC . '/meta.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wp_metadata_lazyloader(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/meta.php  
  1. functionwp_metadata_lazyloader) { 
  2. static $wp_metadata_lazyloader; 
  3.  
  4. if ( null === $wp_metadata_lazyloader ) { 
  5. $wp_metadata_lazyloader = new WP_Metadata_Lazyloader(); 
  6.  
  7. return $wp_metadata_lazyloader;