These forums are your way of communicating with the community of people developing and using tools provided by the OneAll platform. The forums are run by the community and moderated by the OneAll team during office hours.
Please stick to technical issues - and remember, no confidential information - these are public forums!

How to Add Facebook Profile Fields to WordPress User Profile?

edited August 2017 in WordPress
I used PODs to extend the WordPress user profile to include locale & timezone fields.


Then I put this code into functions.php

//Social Login Handle data retrieved from a social network profile function oa_social_login_store_extended_data ($user_data, $identity) { update_user_meta ($user_data->ID, 'locale', $identity->locale); update_user_meta ($user_data->ID, 'timezone', $identity->timezone); } add_action ('oa_social_login_action_after_user_insert', 'oa_social_login_store_extended_data', 10, 2);

But the fields are still empty in the Users profile. Am I using the right field names for Facebook?




Sign In or Register to comment.


Please sign in to your OneAll account to take part in the discussions.

Please click on the link below to connect to the forum with your OneAll account.