WPDev.one
Core Class

WP_Metadata_Lazyloader

class WP_Metadata_Lazyloader // Constructor: function Object() { [native code] }

Core class used for lazy-loading object metadata.

Methods 6 methods

Method / Return Description
__construct()
void

Constructor.

queue_objects()
(void

Adds objects to the metadata lazy-load queue.

Parameters: $object_type: mixed, $object_ids: mixed
reset_queue()
(void

Resets lazy-load queue for a given object type.

Parameters: $object_type: mixed
lazyload_term_meta()
mixed

Lazy-loads term meta for queued terms.

Parameters: $check: mixed
lazyload_comment_meta()
mixed

Lazy-loads comment meta for queued comments.

Parameters: $check: mixed
lazyload_meta_callback()
mixed

Lazy-loads meta for queued objects.

Parameters: $check: mixed, $object_id: mixed, $meta_key: mixed, $single: mixed, $meta_type: mixed

Properties

Property / Type Description
$pending_objects
mixed
public
No description available.
$settings
mixed
public
No description available.

Class Information

Since Version
4.5.0
Source File
wp-includes/class-wp-metadata-lazyloader.php
Advertisement