Tribe__Events__Validator__Base::is_timezone_or_empty( string $candidate )

Whether the string is empty or represents a valid PHP timezone.


Parameters

$candidate

(string) (Required)


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Validator/Base.php

	public function is_timezone_or_empty( $candidate ) {
		if ( empty( $candidate ) ) {
			return true;
		}

		return $this->is_timezone( $candidate );
	}

Top ↑

Changelog

Changelog
Version Description
4.6.13 Introduced.