yuheijotaki.com

get_comments();

$args = array(
  'status'  => array('approve','hold'),
  'post_id' => $post->ID,
  'number'  => '20',
  'order' => 'DESC',
  'offset' => '1'
);
$comments = get_comments( $args );
if ( $comments ) {
  foreach ( $comments as $comment ) {
    $comment_id = get_comment_ID();
    $comment_text = get_comment_text();
    $comment_text = esc_html( $comment_text );
    $comment_text = nl2br( $comment_text );
    $comment_author = get_comment_author_link( $comment_id );
    $comment_status = wp_get_comment_status( $comment_id );
  }
}