WP_Comments_List_Table::single_row

Advertisement

Syntax Syntax

WP_Comments_List_Table::single_row( WP_Comment $item )

Parameters Parameters

$item

(Required)

Source Source

File: wp-admin/includes/class-wp-comments-list-table.php

		if ( ! isset( $has_items ) ) {
			$has_items = $this->has_items();
			if ( $has_items ) {
				$this->display_tablenav( 'top' );
			}
		}

		$this->screen->render_screen_reader_content( 'heading_list' );

		?>
<table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>">
	<thead>
	<tr>
		<?php $this->print_column_headers(); ?>
	</tr>
	</thead>

	<tbody id="the-comment-list" data-wp-lists="list:comment">
		<?php $this->display_rows_or_placeholder(); ?>
	</tbody>

Advertisement

Advertisement

Leave a Reply