BuddyPress and WordPress store profile information in 2 separate locations, and there’s a process to sync profile data between the 2 tables. However, this is pretty much limited (from how I’m reading the code) to a single name field.
What’s the best way of adding other profile fields to this sync process (I’m particularly thinking of the description, and various contact fields) – looks like I’ll need to create a function to hook into xprofile_updated_profile
and user_profile_update_errors
– is this right?
Is there an elegant way of establishing the mapping between WP usermeta
and BP xprofile_data
, or do I have to create the records representing profile fields in xprofile_fields
manually?