Re: How to grab xprofile data?
Boone is right; however there is a way to post specific xprofile fields!
Check out a nifty function called bp_profile_field_data().
Say I have an xprofile field called “Bio”.
I’d use this code snippet:
bp_profile_field_data('field=Bio');
This will echo the “Bio” xprofile field of the displayed user.
If you want to manipulate the data, use:
bp_get_profile_field_data('field=Bio');