WP_Post_Comments_List_Table::display() –

You appear to be a bot. Output may be restricted

Description

Usage

WP_Post_Comments_List_Table::display( $output_empty );

Parameters

$output_empty
( bool ) optional

Returns

void

Source

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

1 to 22 of 22
  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->WP_Post_Comments_List_Table::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
  }
 

 View on GitHub View on Trac