Title: WP_Plugin_Install_List_Table::display
Published: September 4, 2014
Last modified: February 24, 2026

---

# WP_Plugin_Install_List_Table::display()

## In this article

 * [Description](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#description)
 * [Source](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#wp--skip-link--target)

Displays the plugin install table.

## 󠀁[Description](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#description)󠁿

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

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-plugin-install-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/class-wp-plugin-install-list-table.php#L373)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/class-wp-plugin-install-list-table.php#L373-L395)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#related)󠁿

| Uses | Description | 
| [WP_Plugin_Install_List_Table::get_table_classes()](https://developer.wordpress.org/reference/classes/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()](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display_tablenav/)`wp-admin/includes/class-wp-plugin-install-list-table.php` |  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.0.0](https://developer.wordpress.org/reference/since/4.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_plugin_install_list_table%2Fdisplay%2F)
before being able to contribute a note or feedback.