Quantcast
Channel: Add New API Function to Get Venue Website URL?
Viewing all articles
Browse latest Browse all 5

Add New API Function to Get Venue Website URL?

$
0
0

Can we get a tribe_get_venue_website_url() function added as a template tag or API function?

Here’s what exists now:

tribe_get_event_website_url()
tribe_get_event_website_link()
tribe_get_venue_website_link()
tribe_get_organizer_website_url()
tribe_get_organizer_website_link()

You’ll see tribe_get_venue_website_url() doesn’t [yet] exist.

There are public API functions for getting a Website/Link for Events and Organizers, but there’s only a function for getting a Venue’s website HTML link, not just the URL.

These functions can be found in the following directory: /wp-content/plugins/the-events-calendar/public/template-tags.

For now, I’m just using the following function to get the value directly: get_post_meta( $post->ID, '_VenueURL', true );


Viewing all articles
Browse latest Browse all 5

Trending Articles