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.
Contents
Parameters
- $post_id
-
(int|null) (Optional) The event ID.
Default value: null
Return
(string)
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
);
}
Changelog
| Version | Description |
|---|---|
| ?? | Introduced. |