WordPress at Your Fingertips
function is not described

WP_Posts_List_Table::column_comments() public WP 4.3.0

Handles the comments column output.

{} It's a method of the class: WP_Posts_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 4.3.0 Introduced.

Code of WP_Posts_List_Table::column_comments() WP 5.8.2

<?php
public function column_comments( $post ) {
	?>
	<div class="post-com-count-wrapper">
	<?php
		$pending_comments = isset( $this->comment_pending_count[ $post->ID ] ) ? $this->comment_pending_count[ $post->ID ] : 0;

		$this->comments_bubble( $post->ID, $pending_comments );
	?>
	</div>
	<?php
}