WP_Plugin_Install_List_Table::display()publicWP 4.0.0

Displays the plugin install table.

Overrides the parent display() method to provide a different container.

Method of the class: WP_Plugin_Install_List_Table{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Plugin_Install_List_Table = new WP_Plugin_Install_List_Table();
$WP_Plugin_Install_List_Table->display();

Changelog

Since 4.0.0 Introduced.

WP_Plugin_Install_List_Table::display() code WP 6.5.2

<?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' );
}