WordPress at a glance
function is not described

WP_Plugin_Install_List_Table::display_tablenav() WP 1.0

This is 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();
$var = $WP_Plugin_Install_List_Table->display_tablenav( $which );
$which(string) (required)

Notes

  • Global. String. $tab

Code of WP Plugin Install List Table::display tablenav: wp-admin/includes/class-wp-plugin-install-list-table.php WP 5.4.1

<?php
protected function display_tablenav( $which ) {
	if ( 'featured' === $GLOBALS['tab'] ) {
		return;
	}

	if ( 'top' === $which ) {
		wp_referer_field();
		?>
		<div class="tablenav top">
			<div class="alignleft actions">
				<?php
				/**
				 * Fires before the Plugin Install table header pagination is displayed.
				 *
				 * @since 2.7.0
				 */
				do_action( 'install_plugins_table_header' );
				?>
			</div>
			<?php $this->pagination( $which ); ?>
			<br class="clear" />
		</div>
	<?php } else { ?>
		<div class="tablenav bottom">
			<?php $this->pagination( $which ); ?>
			<br class="clear" />
		</div>
		<?php
	}
}