wp_lazyload_comment_meta

The timeline below displays how wordpress function wp_lazyload_comment_meta has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.3

/**
 * Queue comment meta for lazy-loading.
 *
 * @since 6.3.0
 *
 * @param array $comment_ids List of comment IDs.
 */
function wp_lazyload_comment_meta(array $comment_ids)
{
    if (empty($comment_ids)) {
        return;
    }
    $lazyloader = wp_metadata_lazyloader();
    $lazyloader->queue_objects('comment', $comment_ids);
}