Support

Home Forums WP User Integration Save user's phone number as part of registration

Save user's phone number as part of registration

Posted: November 11, 2021 at 11:10 am

Viewing 1 reply thread


HemangLavana

November 11, 2021 at 11:10 am

Hi,

I am using WP user integration plugin:

https://eventespresso.com/product/eea-wp-user-integration/

I have enabled registration required for my event and have also requested phone number to be provided by the user for event registration.

However, I am not sure if it saves the client phone number in the WP users database. As a result, when the user tries to register for another event, it doesn’t pre-fill the phone number info the user and it ends up requesting for phone number from the user once again.

I hope my question is clear. Am I doing something wrong and is there a way for the system to remember the user’s phone number so that they don’t have to provide it again.

Let me know.
Thanks,
Hemang.


Tony

  • Support Staff

November 11, 2021 at 3:55 pm

Hi there,

EE does not save answers to WP user meta, it saves them into custom tables.

However, we do have a snippet you can use to pull in those values for the address and phone number questions. So the first time the user registers they’ll need to provide an answer for phone, then after that EE will pull the value from their contact from previous registrations.

Add this snippet to your site:

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

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 1 reply thread

The support post ‘Save user's phone number as part of registration’ 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