So.. I have successfully been using the action provided here: https://gist.github.com/sethshoultes/5574217 to automatically create a user from the event registration page. It uses the wp_update_user function to update the user fields in WordPress. But I would also like to add other personal information from the form automatically. I tried to insert the fields like this:
` ‘event_espresso_address’ => $attendee_data[‘address’],
‘event_espresso_address2’ => $attendee_data[‘address2’],
‘event_espresso_city’ => $attendee_data[‘city’],
‘event_espresso_state’ => $attendee_data[‘state’],
‘event_espresso_zip’ => $attendee_data[‘zip’],
‘event_espresso_country’ => $attendee_data[‘country’]`
But I’m guessing this doesn’t work because these fields aren’t a native part of the WP user system. Is there an “espresso_update_user”-hook for Event Espresso I can use in addition to wp_update_user for automatically registering these fields?
The support post ‘Add profile information from registration 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.