Posted: March 25, 2019 at 3:43 am
|
How do I get all people/attendees that are on the wait list for a particular event. |
Hi ARAGATO, Go to Event Espresso -> Events -> {hover over event} -> Registrations. Select ‘Wait list’ in the status filter at the top of the registration list and click filter. Now you’ll see a list of all registrations on the waitlist. |
|
|
I meant via code. 😉 |
In that case, it’s a good idea to mention that in the op as it changes everything 🙂 You can use our models to pull the registrations, like this:
Obviously you’ll need to change the EVT_ID value to be the correct ID for your event but that will give you an array of EE_Registrations that have a status of Wait list. I highly recommend you read through our documentation on the model system here: https://github.com/eventespresso/event-espresso-core/tree/master/docs/G–Model-System Most of the above has already been documented there. |
|
|
Hi Tony, the EEM_Registration::status_id_wait_list is what I was actually looking for. Thanks. So, in order to actually get all attendees that are NOT on the waitlist I have to query like this:
BTW: The link to your “Model Query Params Documentation” in your github pages is broken. The links end with “%5D” |
If your using the models, you find the registrations statuses that are avialable directly within the
Thanks for letting us know, those links should be fixed now.
Yes, just a typo in the markdown code leading to a trailing |
|
The support post ‘Get waitlist "attendees" per event’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.