WordPress at a glance
function is not described

WP_Media_List_Table::column_comments() WP 4.3.0

Handles the comments column output.

This is a method of the class: WP_Media_List_Table

No Hooks.

Return

Null. Nothing.

Usage

$WP_Media_List_Table = new WP_Media_List_Table();
$var = $WP_Media_List_Table->column_comments( $post );
$post(WP_Post) (required)
The current WP_Post object.

Changelog

Since 4.3.0 Introduced.

Code of WP Media List Table::column comments: wp-admin/includes/class-wp-media-list-table.php WP 5.2.2

<?php
public function column_comments( $post ) {
	echo '<div class="post-com-count-wrapper">';

	if ( isset( $this->comment_pending_count[ $post->ID ] ) ) {
		$pending_comments = $this->comment_pending_count[ $post->ID ];
	} else {
		$pending_comments = get_pending_comments_num( $post->ID );
	}

	$this->comments_bubble( $post->ID, $pending_comments );

	echo '</div>';
}