I’ve managed to get a list of registrations for the logged in user from a combination of get_user_meta and the get_all_registrations_for_attendee method.
However, this isn’t exactly what I need. is there a way to get a list of the total check-ins for the user?
Nevermind, I got this sorted out, just going to comment here in case someone is interested in doing the same:
first off, you need to do the following to get the registrations by user id, just substitute prefix with your database/table prefix:
`$user_id = get_current_user_id();
$att_id = get_user_meta( $user_id, ‘prefix_EE_Attendee_ID’, true );
kudos to Jon Ang for providing most of the code for this on this forum topic.
Viewing 1 reply thread
The support post ‘Check ins for user’ 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.
If you would like help from the Event Espresso staff, then please purchase a support license right now so you can create a support topic in our premium support forums.