Description
Display the table
Usage
BW_List_Table::display();Parameters
Returns
voidSource
File name: oik/admin/class-bw-list-table.phpLines:
1 to 29 of 29
public function display() { $singular = $this->_args['singular']; $this->display_tablenav( 'top' ); ?> <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>"> <thead> <tr> <?php $this->print_column_headers(); ?> </tr> </thead> <tbody id="the-list"<?php if ( $singular ) { echo " data-wp-lists='list:$singular'"; } ?>> <?php $this->display_rows_or_placeholder(); ?> </tbody> <tfoot> <tr> <?php $this->print_column_headers( false ); ?> </tr> </tfoot> </table> <?php $this->display_tablenav( 'bottom' ); }View on GitHub View on Trac
Called by
Invoked by
Calls
1 to 4 of 4
- BW_List_Table::display_rows_or_placeholder() – Generate the tbody element for the list table.
- BW_List_Table::display_tablenav() – Generate the table navigation above or below the table
- BW_List_Table::get_table_classes() – Get a list of CSS classes for the list table table tag.
- BW_List_Table::print_column_headers() – Print column headers, accounting for hidden and sortable columns.
