Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Display Xprofile data in admin user-edit page
function bpdev_show_info_on_profile_edit_page($user){
//repeat the below line for each of the field you want to list
//replace the field name with the xprofile field name e.g Name, About etc
<tr><th>Field Name</th><td><?php echo xprofile_get_field_data('Field Name',$user_id);?></td></tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.