Tribe__Timezones::mode()

Returns a string representing the timezone/offset currently desired for the display of dates and times.

Contents


Return

(string)


Top ↑

Source

File: src/Tribe/Timezones.php

	public static function mode() {
		$mode = self::EVENT_TIMEZONE;

		if ( 'site' === tribe_get_option( 'tribe_events_timezone_mode' ) ) {
			$mode = self::SITE_TIMEZONE;
		}

		return apply_filters( 'tribe_events_current_display_timezone', $mode );
	}