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.

Метод класса: WC_Admin_Webhooks_Table_List{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->display_tablenav( $which );
$which(строка) (обязательный)
The location of the extra table nav markup: 'top' or 'bottom'.

Код WC_Admin_Webhooks_Table_List::display_tablenav() 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>';
}