#193450
 farhadnik
Participant

Hi,
function sq7_extra_fields_members_directory() {

$location = bp_get_member_profile_data(‘field=Full name in English’);
$specialization = bp_get_member_profile_data(‘field=City’);

if ($specialization || $location) {
echo ‘

‘. ‘Location : ‘ . $location . ‘

‘;
echo ‘

‘. ‘Specialization : ‘ . $specialization . ‘

‘;
}

}
add_action(‘bp_directory_members_item’, ‘sq7_extra_fields_members_directory’);

Log in with your credentials

Forgot your details?