Want more features on Pastebin? Sign Up, it's FREE!
Guest

buddypress forum -bp_profile_field_data( ‘field= … doesn’t w

By: valuser on Jan 29th, 2013  |  syntax: None  |  size: 0.19 KB  |  views: 74  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php global $current_site; $user_id = bp_get_member_user_id(); $adata = xprofile_get_field_data( 'Phone Number' ,bp_get_member_user_id());if ( $adata ) echo "<span>Phone Number: $adata </span>"; }?>
clone this paste RAW Paste Data