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


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.

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 years, 8 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!