WP_Posts_List_Table::column_comments( WP_Post $post )

In this article

Handles the comments column output.

Parameters

$postWP_Postrequired
The current WP_Post object.

Source

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
}

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.