WordPress at Your Fingertips
function is not described

WP_Plugin_Install_List_Table::views() public WP 1.0

Override parent views so we can use the filter bar display.

{} It's a method of the class: WP_Plugin_Install_List_Table{}

Hooks from the method

Return

null. Nothing.

Usage

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

Code of WP_Plugin_Install_List_Table::views() WP 5.8.2

<?php
public function views() {
	$views = $this->get_views();

	/** This filter is documented in wp-admin/inclues/class-wp-list-table.php */
	$views = apply_filters( "views_{$this->screen->id}", $views );

	$this->screen->render_screen_reader_content( 'heading_views' );
	?>
<div class="wp-filter">
<ul class="filter-links">
	<?php
	if ( ! empty( $views ) ) {
		foreach ( $views as $class => $view ) {
			$views[ $class ] = "\t<li class='$class'>$view";
		}
		echo implode( " </li>\n", $views ) . "</li>\n";
	}
	?>
</ul>

	<?php install_search_form(); ?>
</div>
	<?php
}