Tribe__Events__Validator__Base::is_timezone( string $candidate )

Whether the string represents a valid PHP timezone or not.


Parameters

$candidate

(string) (Required)


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Validator/Base.php

	public function is_timezone( $candidate ) {
		return is_string( $candidate ) && Tribe__Timezones::is_valid_timezone( $candidate );
	}

Top ↑

Changelog

Changelog
Version Description
4.6 Introduced.