wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_lazyload_comment_meta › WordPress Function

Since6.3.0
Deprecatedn/a
wp_lazyload_comment_meta ( $comment_ids )
Parameters:
  • (array) $comment_ids List of comment IDs.
    Required: Yes
Defined at:
Codex:

Queue comment meta for lazy-loading.



Source

function wp_lazyload_comment_meta( array $comment_ids ) {
	if ( empty( $comment_ids ) ) {
		return;
	}
	$lazyloader = wp_metadata_lazyloader();
	$lazyloader->queue_objects( 'comment', $comment_ids );
}