Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Profile Fields Questions


jivany
Participant

@jivany

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.

Skip to toolbar