WP_Metadata_Lazyloader::__construct()
Constructor.
Source
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' ),
),
);
}
Changelog
Version | Description |
---|---|
WP-4.5.0 | Introduced. |