Support

Home Forums Event Espresso Premium How to get attendees data after Thank you page?

How to get attendees data after Thank you page?

Posted: December 31, 2016 at 2:23 am

Viewing 1 reply thread


Alana

December 31, 2016 at 2:23 am

Hello Event Espresso,

I want to integrate Event Espresso with SalesForce.
For that i need to fetch the all attendees details after Thank you page.
How to fetch all attendees details using filter or hook of Event Espresso?

I have tried with

add_action( 'AHEE__EE_Registration_Processor__trigger_registration_update_notifications', 'custom_attendee_data', 10, 2 );
function custom_attendee_data( $registration, $additional_details ) {
if ( $registration instanceof EE_Registration ) {
     print_r($registration->attendee());
}
}

If there is only one attendee,i can get the basic details using above code, but if there are more then one attendees then how to fetch details of all attendees (i.e. How to loop to get all attendees)?

Second point, i was unable to fetch the details that are stored via custom form fields other then the default form fields provided by the Event Espresso.

How to fetch custom form fields via hooks and filters for corresponding attendee?

Stuck since last Monday.Hoping for the solution.

Thanks


Josh

  • Support Staff

January 2, 2017 at 12:57 pm

Hi Vince,

Development-related questions are generally best to be asked on Github:

https://github.com/eventespresso/event-espresso-core/issues

One of the developers will follow up with you there.

Viewing 1 reply thread

The support post ‘How to get attendees data after Thank you 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