Support

Home Forums WP User Integration EE4 WP User Integration Add-on

EE4 WP User Integration Add-on

Posted: December 21, 2016 at 12:54 pm


Jwebadgility

December 21, 2016 at 12:54 pm

The documentation for this add-on states the additional fields will be prepopulated in an enhancement. Is that available yet?

At this time, the first name, last name, and email address are pre-populated. An enhancement is coming to a future version that will pre-populate additional fields (e.g. address fields).

Thanks,
Jeff


Josh

  • Support Staff

December 21, 2016 at 1:51 pm

This is available via a filter hook, which can be activated a few ways.

If it’s address fields, you’d use the hook from this example code:
https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_filter_address_answer_for_wpuser.php

If it’s other fields, you’d use the hook from this example code:
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 code from either or both of the above to a functions plugin or into your WordPress theme’s functions.php file.

The support post ‘EE4 WP User Integration Add-on’ 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