Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: listing members

bp_member_profile_data will echo out as the example in the file shows to get a field you would do:

bp_member_profile_data( ‘field=business type’)

if I wanted to see what a particular member had for that field then I might use:
bp_get_member_profile_data() and do something like:

`$member_business_type = bp_get_member_profile_data(‘field=business type’);`

`if ( $member_business_type == ‘dj’ ) :
do stuff here;
endif;`

Not sure how you might apply that to your requirements but it will get you further along; also there may well be a better approach than I have outlined.

Skip to toolbar