Logs_List_Table::extra_tablenav( string $which )

Override function for table navigation.


Parameters Parameters

$which

(string) (Required) "top" or "bottom"


Source Source

File: src/core/admin/class-logs-list-table.php

	protected function extra_tablenav( $which ) {

		if ( 'top' === $which ) {

			if ( class_exists( '\uncanny_automator_pro\Pro_Filters' ) ) {
				$filter_html = Pro_Filters::activities_filters_html( $this->tab );
			} else {
				$GLOBALS['ua_current_tab'] = $this->tab;

				// Start output
				ob_start();

				include Utilities::automator_get_view( 'filters.php' );

				// Get output
				$filter_html = ob_get_clean();
			}

			echo $filter_html;
		}
	}