tribe_get_venue_website_url( int|null $post_id = null )

Returns the venue website URL related to the current post or for the optionally specified post.


Parameters

$post_id

(int|null) (Optional) The event ID.

Default value: null


Top ↑

Return

(string)


Top ↑

Source

File: src/functions/template-tags/venue.php

	function tribe_get_venue_website_url( $post_id = null ) {
		return (string) tribe_get_event_meta(
			tribe_get_venue_id( $post_id ),
			'_VenueURL',
			true
		);
	}

Top ↑

Changelog

Changelog
Version Description
?? Introduced.