Function to get event e-mail-addresses?

Home Forums Calendar Products Events Calendar PRO Function to get event e-mail-addresses?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #78329
    Oliver
    Participant

    Hi Barry,
    for a newsletter I need to create a list with all the e-mail-adresses we have in the Event Calendar. For the Event Organizer I found the function tribe_get_organizer_email().
    But how can I get the event mail? I didn’t found any function and also the function tribe_get_events() doesn’t deliver that field.

    Best regards,
    Oliver

    #78479
    Barry
    Member

    Can you clarify if you mean a custom field (since I don’t believe there is actually an event specific email field) or else a different built-in field, such as the event website?

    #78506
    Oliver
    Participant

    This reply is private.

    #78520
    Barry
    Member

    OK, I feel like I’m missing part of the puzzle here … so it is in fact the organizer email you wish to retrieve? Why can you not use tribe_get_organizer_email() in that case?

    You would need to build a list of post IDs for all events first of all, but you could build a query to retrieve that or indeed a custom query to pull out each unique organizer ID email address in one fell swoop (though this is rather beyond the scope of support that we can offer here).

    Am I misunderstanding?

    #78529
    Oliver
    Participant

    Sorry, my fault! I now realized that there is no such field as an event mail-adress! I mixed it up with the organizer mail address.
    (I should definitely not ask questions in the middle of the night).
    You can close or better delete that post! 😉

    Best regards,
    Oliver

    #78532
    Barry
    Member

    No problem at all – I can completely sympathize with working late 😉

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Function to get event e-mail-addresses?’ is closed to new replies.