WP_Posts_List_Table::column_comments() – Handles the comments column output.

You appear to be a bot. Output may be restricted

Description

Handles the comments column output.

Usage

WP_Posts_List_Table::column_comments( $post );

Parameters

$post
( WP_Post ) required – The current WP_Post object.

Returns

void

Source

File name: wordpress/wp-admin/includes/class-wp-posts-list-table.php
Lines:

1 to 11 of 11
  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
  }
 

 View on GitHub View on Trac