Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Mete_Comments

How to retrieve some comments, based on some meta_value

// WP_Comment_Query arguments
$args = array(
	'status'         => 'approve',
	'number'         => '20',
	'offset'         => '15',
	'count'          => false,
);

// The Comment Query
$comment_query = new WP_Comment_Query( $args );