Support

Home Forums Event Espresso Premium Default Attendee #1 Personal Information to Logged In WordPress User

Default Attendee #1 Personal Information to Logged In WordPress User

Posted: November 6, 2014 at 5:19 am

Viewing 4 reply threads


Eversion Systems

November 6, 2014 at 5:19 am

Has anyone written some code that pre-populates attendee #1 demographic details with the logged in WordPress user’s details?


Eversion Systems

November 6, 2014 at 5:20 am

Currently using EE4.


Eversion Systems

November 6, 2014 at 5:30 am

Ok I found the hooks documentation here for the Attendee class. Now just need to work out how to hook into this..

 


Dean

November 6, 2014 at 6:26 am

Hi,

Those are not hooks, just plain old functions/methods.

Looking at the code, you’re going to be hard pressed to do this as there are no specific filters in place currently.

One option would be to write an AJAX script that pulls in the appropriate data and inserts it into the fields via JavaScript.


Eversion Systems

November 6, 2014 at 3:37 pm

Cheers Dean, that was going to be my last resort if I couldn’t use hooks to insert the data.

Viewing 4 reply threads

The support post ‘Default Attendee #1 Personal Information to Logged In WordPress 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.

Event Espresso