Support

Home Forums Event Espresso Premium WP User Intergation with User Profile for addresses

WP User Intergation with User Profile for addresses

Posted: July 16, 2014 at 10:06 am


Dean

July 16, 2014 at 11:54 pm

Hi Ben,

By default it should pull that info across so long as you are using the default Address questions/question group.

If the questions had somehow been deleted and recreated it may not find them though as it looks for the questions based on question ID.


Ben

July 17, 2014 at 2:25 am

Thanks Dean,

What I meant was, is that there is an address already populated in the WP User Profile in a shipping address fields used by PMPRO membership, and wondered can that be pulled into the Event registration address fields? – http://screencast.com/t/CRciIwtIMmm

Here are the details of the shipping plugin – https://github.com/strangerstudios/pmpro-shipping/blob/master/pmpro-shipping.php

Thanks.


Dean

July 17, 2014 at 5:18 am

Hi Ben,

I assume it needs to be automated, rather than manual so jQuery is out. I would think that you would need to hook into the third party plugins code and send the data to the database via the update_user_meta function http://codex.wordpress.org/Function_Reference/update_user_meta

The meta fields in the table would be:

event_espresso_address
event_espresso_address2
event_espresso_city
event_espresso_state
event_espresso_zip
event_espresso_country
event_espresso_phone

I didn’t see any hooks in the third party plugin so you may need to edit it to add some in before creating a function.

The support post ‘WP User Intergation with User Profile for addresses’ 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