public function tabs() {

		$tabs = $this->get_tabs();

		echo '<ul class="geot-admin-tabs">';
		foreach ( $tabs as $id => $tab ) {

			$active = $id === $this->view ? 'active' : '';
			$name   = $tab['name'];
			$link   = add_query_arg( 'view', $id, admin_url( 'admin.php?page=geot-settings' ) );
			echo '<li><a href="' . esc_url_raw( $link ) . '" class="' . esc_attr( $active ) . '">' . esc_html( $name ) . '</a></li>';
		}
		echo '</ul>';
	}
public function tabs() {

		$tabs = $this->get_tabs();

		echo '<ul class="geot-admin-tabs">';
		foreach ( $tabs as $id => $tab ) {

			$active = $id === $this->view ? 'active' : '';
			$name   = $tab['name'];
			$link   = add_query_arg( 'view', $id, admin_url( 'admin.php?page=geot-settings' ) );
			echo '<li><a href="' . esc_url_raw( $link ) . '" class="' . esc_attr( $active ) . '">' . esc_html( $name ) . '</a></li>';
		}
		echo '</ul>';
	}
public function tabs ( ) { $ tabs = $ this -> get_tabs ( ) ; echo '<ul class="geot-admin-tabs">' ; foreach ( $ tabs as $ id => $ tab ) { $ active = $ id === $ this -> view ? 'active' : '' ; $ name = $ tab [ 'name' ] ; $ link = add_query_arg ( 'view' , $ id , admin_url ( 'admin.php?page=geot-settings' ) ) ; echo '<li><a href="' . esc_url_raw ( $ link ) . '" class="' . esc_attr ( $ active ) . '">' . esc_html ( $ name ) . '</a></li>' ; } echo '</ul>' ; }
Output tab navigation area.
Output tab navigation area .