Getting the Profile Field Data in Members Loop
Latest Word Press and BuddyPress 1.7.
I’ve been struggling to get the data from the custom field profiles.
I have 3 Field Groups.
Trying to get a Birthday data from the field Birthday which is in FIELD GROUP 3
I am using this code.
$birthday = xprofile_get_field_data(‘Birthday’,bp_member_name()); echo $birthday;
No success. What am I doing wrong? Do I need to setup a function for this in bp-custom??
I just want to simply add these fields to display along with the defaults stuff on members lists.
- The topic ‘Getting the Profile Field Data in Members Loop’ is closed to new replies.