tribe_eb_is_live_event( int $post_id = null )

Determine if an event is live at Eventbrite


Parameters #

$post_id

(int) (Optional) the event ID (optional if used in the loop)

Default value: null


Top ↑

Return #

(bool) true if live


Top ↑

Source #

File: src/functions/template-tags.php

function tribe_eb_is_live_event( $post_id = null ) {
	$api = tribe( 'eventbrite.event' );
	return $api->is_live( $post_id );
}

Top ↑

Changelog #

Changelog
Version Description
1.0 Introduced.