WordPress at Your Fingertips
function is not described

WP_Post_Comments_List_Table::display() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$WP_Post_Comments_List_Table = new WP_Post_Comments_List_Table();
$WP_Post_Comments_List_Table->display( $output_empty );
$output_empty *(true false)*

Default: false

Code of WP_Post_Comments_List_Table::display() WP 5.8.2

<?php
public function display( $output_empty = false ) {
	$singular = $this->_args['singular'];

	wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
	?>
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" style="display:none;">
<tbody id="the-comment-list"
	<?php
	if ( $singular ) {
		echo " data-wp-lists='list:$singular'";
	}
	?>
	>
	<?php
	if ( ! $output_empty ) {
		$this->display_rows_or_placeholder();
	}
	?>
</tbody>
</table>
	<?php
}