Tribe__Events__Main::fullAddress( $post_id = null,  $includeVenueName = false )

Returns the full address of an event along with HTML markup. It loads the address template to generate the HTML


Source

File: src/Tribe/Main.php

		public function fullAddress( $post_id = null, $includeVenueName = false ) {
			global $post;
			if ( ! is_null( $post_id ) ) {
				$tmp_post = $post;
				$post     = get_post( $post_id );
			}
			ob_start();
			tribe_get_template_part( 'modules/address' );
			$address = ob_get_contents();
			ob_end_clean();
			if ( ! empty( $tmp_post ) ) {
				$post = $tmp_post;
			}

			return $address;
		}