Re: Profile Fields Questions
I think you need to look at what @DJPaul said. If your function always returns true then you’re always going to output something, even if that something is blank.
function custom_xprofile( $field ) {
echo bp_custom_get_member_list_xprofile_data( $field );
}
That echo will always return something. You need to dig into bp_custom_get_member_list_xprofile_data and see if there’s a way to determine if $field exists.