Perhaps a bug? RE: bp_get_member_profile_data( ’field=x’ );
-
Hey all,
This is weird, either im doing something wrong [more likely] or perhaps its a bug. Im using the below function to add profile data to the members directory. When it pulls a twitter URL it leaves out the : in http:// – you can see it in action by going to http://tasartslive.com/members/ and scrolling down to Kims profile. Any ideas what im doing wrong?
`
function add_member_custom_extended_profile() {
$data_twitter = bp_get_member_profile_data( ‘field=Twitter Page URL’ );if ( $data_twitter ){
echo ‘‘;
}
}
add_action(‘bp_directory_members_item’, ‘add_member_custom_extended_profile’);
`
- The topic ‘Perhaps a bug? RE: bp_get_member_profile_data( ’field=x’ );’ is closed to new replies.