Tribe__Settings_Tab::showSaveTab( array $noSaveTabs )

sets whether the current tab should show the save button or not


Parameters

$noSaveTabs

(array) (Required) the $noSaveTabs from Tribe__Settings


Top ↑

Return

(array) $noSaveTabs the filtered non saving tabs


Top ↑

Source

File: src/Tribe/Settings_Tab.php

		public function showSaveTab( $noSaveTabs ) {
			if ( ! $this->show_save || empty( $this->fields ) ) {
				$noSaveTabs[ $this->id ] = $this->id;
			}

			return $noSaveTabs;
		}