WordPress at a glance
function is not described

WP_Metadata_Lazyloader::__construct() public WP 4.5.0

Constructor.

{} It's a method of the class: WP_Metadata_Lazyloader{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Metadata_Lazyloader = new WP_Metadata_Lazyloader();
$WP_Metadata_Lazyloader->__construct();

Changelog

Since 4.5.0 Introduced.

Code of WP_Metadata_Lazyloader::__construct() WP 5.7.2

<?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' ),
		),
	);
}