This is the code in bd-custom.php
global $bp_profile_field_data;
function show_profile_field()
{
$args = array(
'field' => 'Field Name',
'user_id' => 1
);
$tx_profile_field = bp_profile_field_data( $args );
};
but i want to use this string in a plugin but it echo empty space