how to get the value of a field of the current connected user in buddyPress ?
ex: How to print out :
My gender is : {gender}
Get the current user id: get_current_user_id()
Then use xprofile_get_field_data
My gender is : <?php echo xprofile_get_field_data('gender', get_current_user_id(), 'comma'); ?>