Support

Home Forums Event Espresso Premium GET attendee information on registration form page

GET attendee information on registration form page

Posted: March 13, 2015 at 8:34 am


Liam Crank

March 13, 2015 at 8:34 am

I have used this hook for getting attendee and course information, but this not working now, Is That hook is changed in new update of event espresso(if changed kindly suggest me how can i get attendee information while registration of uesr)?

add_action(‘AHEE__registration_page_attendee_information__start’, ‘dxxx’, 10, 1 );

function dxxx($event_queue) {
//var_dump($event_queue);
$my_registrations = $event_queue[‘items’];
foreach($my_registrations as $a_reg) { echo $a_reg[event] -> ID(); }
}


Dean

March 16, 2015 at 3:08 am

Hi Liam,

It does seem that AHEE__registration_page_attendee_information__start has been deprecated.

You could try using:

AHEE__SPCO__before_registration_steps

AHEE__**SLUG**__reg_step_start (where **SLUG** is the slug of the step)

AHEE__SPCO__after_registration_steps

See this file as that is where the original hook was deprecated from: /wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/templates/registration_page_wrapper.template.php

The support post ‘GET attendee information on registration form 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