WP_Metadata_Lazyloader::lazyload_comment_meta

SummerySummery

Lazy-loads comment meta for queued comments.

Syntax

WP_Metadata_Lazyloader::lazyload_comment_meta( mixed $check )

DescriptionDescription

This method is public so that it can be used as a filter callback. As a rule, there is no need to invoke it directly, from either inside or outside the WP_Query object.

ParametersParameters

$check

(mixed) (Required) The $check param passed from the 'get_comment_metadata' hook.

ReturnReturn

(mixed) The original value of $check, so as not to short-circuit get_comment_metadata().

SourceSource

File: wp-includes/class-wp-metadata-lazyloader.php


			

ChangelogChangelog

Changelog
Version Description
4.5.0 Introduced.
Scroll to Top