WP_List_Table::display() – Displays the table.

You appear to be a bot. Output may be restricted

Description

Displays the table.

Usage

WP_List_Table::display();

Parameters

Returns

void

Source

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

1 to 34 of 34
  public function display() {
    $singular = $this->_args['singular'];

    $this->WP_List_Table::display_tablenav( 'top' );

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

	<tbody id="the-list"
		<?php
    if ( $singular ) {
      echo " data-wp-lists='list:$singular'";
    }
    ?>
		>
		<?php $this->WP_List_Table::display_rows_or_placeholder(); ?>
	</tbody>

	<tfoot>
	<tr>
		<?php $this->WP_List_Table::print_column_headers( false ); ?>
	</tr>
	</tfoot>

</table>
		<?php
    $this->WP_List_Table::display_tablenav( 'bottom' );
  }
 

 View on GitHub View on Trac