Used By
Used By | Description |
---|---|
wp-includes/meta.php: wp_metadata_lazyloader() | Retrieves the queue for lazy-loading metadata. |
Constructor.
File: wp-includes/class-wp-metadata-lazyloader.php
public function __construct() { $this->settings = array( 'term' => array( 'filter' => 'get_term_metadata', 'callback' => array( $this, 'lazyload_term_meta' ), ), 'comment' => array( 'filter' => 'get_comment_metadata', 'callback' => array( $this, 'lazyload_comment_meta' ), ), ); }
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_metadata_lazyloader/__construct