tribe_eb_event_status( int $post_id = null )

Determine an event’s Eventbrite status


Parameters #

$post_id

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

Default value: null


Top ↑

Return #

(string) the event status


Top ↑

Source #

File: src/functions/template-tags.php

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

Top ↑

Changelog #

Changelog
Version Description
1.0 Introduced.