Support

Home Forums WP User Integration Linking exiting user fields with the user integration plugin

Linking exiting user fields with the user integration plugin

Posted: May 6, 2017 at 4:21 am

Viewing 1 reply thread


uecwa

May 6, 2017 at 4:21 am

Is there a way so that the additional user fields is link exisiting fields of the currently logged in user?


Josh

  • Support Staff

May 8, 2017 at 8:42 am

Hi there,

If they’ve answered an address field on a previous event registration form, the code in this example will auto-populate that value onto their registration form:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_filter_address_answer_for_wpuser.php

If they’ve answered a custom question field on a previous event registration form, the code in this example will auto-populate that value onto their registration form:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/mn_wp_user_addon_save_custom_answers_too.php

You can add the above to a functions plugin.

Viewing 1 reply thread

The support post ‘Linking exiting user fields with the user integration plugin’ 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