wp_lazyload_comment_meta( array $comment_ids )
Queue comment meta for lazy-loading.
Parameters
- $comment_ids
-
(Required) List of comment IDs.
Source
File: wp-includes/comment.php
function wp_lazyload_comment_meta( array $comment_ids ) {
if ( empty( $comment_ids ) ) {
return;
}
$lazyloader = wp_metadata_lazyloader();
$lazyloader->queue_objects( 'comment', $comment_ids );
}
Changelog
Version | Description |
---|---|
6.3.0 | Introduced. |