Event Tickets: Function to get array of open events

Home Forums Welcome! Pre-Sales Questions Event Tickets: Function to get array of open events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1595497
    Nimmo
    Guest

    Hi,
    Is there a Tribe php function to get an array of all RSVP-able events (of the designated post type), so i can loop through them?

    my client has a site with a large number of event listings, some have RSVP and some don’t. They would like people to be able to rsvp to any event from an RSVP page, in addition to being able to rsvp on the single event page. To do that I would build them a tabbed interface where they can select the event by title, and the RSVP form for that event would be shown on the page.

    Obviously i would build this myself, but i would need a way to query all events that *have* RSVP.

    i would also need a function to render the form for the event, by ID.

    Thanks, and i’m very willing to pay for pro support, but this seems to be a function that would exist in the basic plugin?

    #1596596
    Cliff
    Member

    Hi, Nimmo. You posted in the Pre-Sales area of our Help Desk from a user account that doesn’t have any purchases associated with it (or accidentally if you forgot to login first).

    If you do have a paid account login with at least one current license, please login to that account and then post in one of the paid forums.

    If you don’t have a paid account login, I’m afraid we’re not equipped to provide technical support for current plugin users here in the Pre-Sales area. If you’re using one of our free plugins, such as The Events Calendar or Event Tickets, you can request assistance on their respective WordPres.org Support Forums (we do not provide technical support for users there, either–only via our paid forums).

    Possibly helpful references:

    As a suggestion, you could get all the events per your criteria via tribe_get_events(): https://theeventscalendar.com/knowledgebase/using-tribe_get_events/

    Then, you could loop through them with tribe_events_has_tickets() or a similar function within /wp-content/plugins/event-tickets/src/template-tags/tickets.php

    Thank you for your understanding and thank you for using our plugins.

    If you need some coding help, you may want to ask your own developer or reference our Customizations Documentation, which includes a link to Hire A Freelancer.

    #1613227
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Event Tickets: Function to get array of open events’ is closed to new replies.