Support

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

GET attendee information on registration form page (2)

Posted: September 18, 2015 at 8:12 am

Viewing 1 reply thread


Alan Coyne

September 18, 2015 at 8:12 am

This post is related to https://eventespresso.com/topic/get-attendee-information-on-registration-form-page/
I have searched the “AHEE__SPCO__before_registration_steps” in the whole plugin folder but not found anywhere. But using it in my custom plugins , it hooks the action. But I got empty $event_queue[‘items’] array. Actually, I want to get the event’s detail before registration form displayed.


Josh

  • Support Staff

September 18, 2015 at 8:52 am

Hi Alan,

You’ll find the AHEE__SPCO__before_registration_steps hook on line 53 of modules/single_page_checkout/templates/registration_page_wrapper.template.php.

You can get the event’s detail by using some of the built in methods. There’s an example that you can follow that uses the same hook to apply the event’s featured image in our Github snippet library:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/jf_ee_display_event_featured_image_on_spco.php

If you have any questions about the usage of the built-in methods, please open a github issue:

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

Viewing 1 reply thread

The support post ‘GET attendee information on registration form page (2)’ 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