I have a client building a site on BuddyPress and using XProfile fields for profile fields. Unfortunately this leaves the data locked in BuddyPress and inaccessible to any other plugins that deal with profiles and user meta (no idea why this hasn’t been updated). I need to be able to hook into the update profile action and copy all the XProfile fields to wp_usermeta. Is there an existing solution to this problem? Thank you
Look at function delete() and function save() in
buddypress\bp-xprofile\classes\class-bp-xprofile-profiledata.php
You’ll find before and after action hooks that you can use to delete or save profile data to usermeta.
Viewing 1 replies (of 1 total)
The topic ‘Copy data to wp_usermeta on profile save’ is closed to new replies.