WC_Admin_Webhooks_Table_List::display_tablenav()protectedWC 1.0

Generate the table navigation above or below the table. Included to remove extra nonce input.

Method of the class: WC_Admin_Webhooks_Table_List{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->display_tablenav( $which );
$which(string) (required)
The location of the extra table nav markup: 'top' or 'bottom'.

WC_Admin_Webhooks_Table_List::display_tablenav() code WC 8.7.0

protected function display_tablenav( $which ) {
	echo '<div class="tablenav ' . esc_attr( $which ) . '">';

	if ( $this->has_items() ) {
		echo '<div class="alignleft actions bulkactions">';
		$this->bulk_actions( $which );
		echo '</div>';
	}

	$this->extra_tablenav( $which );
	$this->pagination( $which );
	echo '<br class="clear" />';
	echo '</div>';
}