Update XProfile FIeld
-
I have a requirement to update an XProfile field outside of the loop when a user logs in.
Based on the code I have found that the following ‘should’ work.
bp_xprofile_update_meta( 1, ‘data’, ‘Location’, ‘thedatatobeupdated’ );
However this does not work. 1 being the userid, data being the type to update, Location being the field name, and thedatatobeupdated being hat I want to update the value to. Am I missing something?
- The topic ‘Update XProfile FIeld’ is closed to new replies.