WP_Themes_List_Table::display() WordPress Method
The WP_Themes_List_Table::display() method is used to display a list of themes in a tabular format. The list table class is used to generate the table, while the WP_Themes_List_Table::display() method is responsible for displaying the table.
WP_Themes_List_Table::display() #
Displays the themes table.
Description
Overrides the parent display() method to provide a different container.
Source
File: wp-admin/includes/class-wp-themes-list-table.php
public function display() { wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' ); ?> <?php $this->tablenav( 'top' ); ?> <div id="availablethemes"> <?php $this->display_rows_or_placeholder(); ?> </div> <?php $this->tablenav( 'bottom' ); ?> <?php }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |