Uses
Uses | Description |
---|---|
wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::get_table_classes() | |
wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::display_tablenav() |
Displays the plugin install table.
Overrides the parent display() method to provide a different container.
File: wp-admin/includes/class-wp-plugin-install-list-table.php
public function display() { $singular = $this->_args['singular']; $data_attr = ''; if ( $singular ) { $data_attr = " data-wp-lists='list:$singular'"; } $this->display_tablenav( 'top' ); ?> <div class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>"> <?php $this->screen->render_screen_reader_content( 'heading_list' ); ?> <div id="the-list"<?php echo $data_attr; ?>> <?php $this->display_rows_or_placeholder(); ?> </div> </div> <?php $this->display_tablenav( 'bottom' ); }
Version | Description |
---|---|
4.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display