Summery Summery
Handles the comments column output.
Syntax Syntax
Parameters Parameters
- $post
-
(Required) The current WP_Post object.
Source Source
File: wp-admin/includes/class-wp-posts-list-table.php
* Handles the comments column output.
*
* @since 4.3.0
*
* @param WP_Post $post The current WP_Post object.
*/
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;
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |