How retrieve all organizers off an event with ID organizer

Home Forums Welcome! Pre-Sales Questions How retrieve all organizers off an event with ID organizer

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1384332
    Doogie1
    Guest

    Hi,

    And congratulation for your plugin. It is a good job and it’s works very well in my website

    But i have got a question : i want to retrieve all organizers of an event. In my project, an event is organized by many organizers. In your documentation i have this function :

    $organizer = tribe_get_organizer_ids($post->ID);

    This function is cool. For on event i have got the ID of organizers (one or many)

    But how retrieve the name of organizers with this ID ? It’s possible ?

    Thanks so lot for your help

    Bye

    #1384963
    Courtney
    Member

    Hi there!

    Thanks so much for getting in touch! I’m afraid that we’re not equipped to provide technical support for current plugin users here in our pre-sales forum. We’d be more than happy to assist you at one of the following locations:

    • If you’re using one or more of our free plugins such as The Events Calendar and Event Tickets, you can request assistance on the WordPress.org support forum for the affected product.
    • If you’re a current license holder for one of our premium offerings, please log in to your account and submit a post to the appropriate forum for the affected product. Please include your System Info https://theeventscalendar.com/knowledgebase/sharing-sys-info/ so we can better help you.

    If you can, please take the time to confirm in your post that you’ve run through our Testing for Conflicts steps prior to contacting us–this will save us a step and help us to get your issue resolved that much quicker! 🙂

    Thanks again, and we’ll see you in the forums!
    Courtney 🙂

    #1385485
    Doogie1
    Guest

    Hi

    Ok sorry. I found a solution for this problem. First i searched the ID of organizer with this function :

    $organizers = tribe_get_organizer_ids($id); The $id is the id event

    With this array, i retrieved the name or organizer with this foreach

    $orgName = array();
    foreach($organizers as $organizerId) {
      $orgName[] = tribe_get_organizer($organizerId);
    }

    Of course this action will create in an event loop tribe_get_events

    That’s all

    Thanks so lot for your response

    Bye

    #1385733
    Courtney
    Member

    Thanks Doogie1. I’m sorry we aren’t able to help with these requests on the pre-sales forums.

    Thanks
    Courtney 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How retrieve all organizers off an event with ID organizer’ is closed to new replies.