Tribe__Events__Pro__Default_Values::country()


Source

File: src/Tribe/Default_Values.php

	public function country() {
		$country = tribe_get_option( 'defaultCountry', null );
		if ( ! $country || ! is_array( $country ) ) {
			$country = array( '', '' );
		}
		for ( $i = 0; $i < 2; $i ++ ) {
			if ( ! isset( $country[ $i ] ) ) {
				$country[ $i ] = '';
			}
		}

		return $country;
	}