WordPress at Your Fingertips
function is not described

WP_List_Table::display_tablenav() protected WP 3.1.0

Generates the table navigation above or below the table

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->display_tablenav( $which );
$which(string) (required)
-

Changelog

Since 3.1.0 Introduced.

Code of WP_List_Table::display_tablenav() WP 5.8.1

<?php
protected function display_tablenav( $which ) {
	if ( 'top' === $which ) {
		wp_nonce_field( 'bulk-' . $this->_args['plural'] );
	}
	?>
<div class="tablenav <?php echo esc_attr( $which ); ?>">

	<?php if ( $this->has_items() ) : ?>
	<div class="alignleft actions bulkactions">
		<?php $this->bulk_actions( $which ); ?>
	</div>
		<?php
	endif;
	$this->extra_tablenav( $which );
	$this->pagination( $which );
	?>

	<br class="clear" />
</div>
	<?php
}