• Resolved jasewarner

    (@jasewarner)


    Hi,

    I would like to loop through and only show past events, however I cannot find any documentation that explains what string I should pass into status, i.e.

    $events = new Eventbrite_Query( apply_filters( 'eventbrite_query_args', array(
    	'display_private' => true,
    	'status' => 'past',
    ) ) );

    Can you help please?

    Thanks.

    • This topic was modified 7 years, 9 months ago by jasewarner. Reason: Corrected code markup
Viewing 1 replies (of 1 total)
  • Thread Starter jasewarner

    (@jasewarner)

    I eventually found some time to dig into the Eventbrite API and found an answer for this one.

    If anybody else comes across the same issue, you can pass the following strings as statuses: all, draft, live, canceled, started, ended.

Viewing 1 replies (of 1 total)
  • The topic ‘Only display past events’ is closed to new replies.