Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Xprofile question….


Andy Peatling
Keymaster

@apeatling

Possibly. You could try adding this to bp-xprofile.php:

function xprofile_get_field_data( $field_name, $user_id = null ) {
global $bp;

if ( !$user_id )
$user_id = $bp->displayed_user->id;

return apply_filters( 'xprofile_get_field_data', BP_XProfile_ProfileData::get_value_byfieldname( $field_name, $user_id ) );
}

Skip to toolbar