Support

Home Forums Event Espresso Premium Attendee ID on Event Page

Attendee ID on Event Page

Posted: September 25, 2015 at 1:02 pm

Viewing 3 reply threads


Dallas REIG

September 25, 2015 at 1:02 pm

Is there a way to get the Attendee ID(if it exists) a logged in user when they click on an event page before they click register?


Josh

  • Support Staff

September 25, 2015 at 5:32 pm

Hi there,

If I understand your question, the answer is no because they are not assigned an attendee ID until after they click register.


Dallas REIG

September 25, 2015 at 5:37 pm

Yes I believe you are understanding my question but that is why I said “If it exists”. Before they have ever registered, I understand an Attendee ID will not exist but after they have registered for at least 1 event, they are assigned an Attendee that follows them.

So assuming the user has registered for at least 1 event before, is there a way to get the Attendee ID when they access an event page and before they actually register for the next event?

Whether the ID exists or not, if there is a built in way, the process would be the same to “get” the ID. If it exists it will return an ID otherwise it will return nothing.

Thanks


Josh

  • Support Staff

September 25, 2015 at 6:13 pm

The Attendee ID will be unique for each registration they make, so there still will not be an attendee ID until they actually register for the next event.

If you actually mean, get the User account ID, then yes, that’s possible, and you’d use the get_current_user_id() function.

Viewing 3 reply threads

The support post ‘Attendee ID on Event Page’ 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.

Event Espresso