Lazy-loads comment meta for queued comments.
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.
$checkmixedrequired
$check param passed from the 'get_comment_metadata' hook.$check, so as not to short-circuit get_comment_metadata().public function lazyload_comment_meta( $check ) {
_deprecated_function( __METHOD__, '6.3.0', 'WP_Metadata_Lazyloader::lazyload_meta_callback' );
return $this->lazyload_meta_callback( $check, 0, '', false, 'comment' );
}
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_metadata_lazyloader/lazyload_comment_meta