PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Untitled
1 sec ago
CASUAL r465-
31 sec ago
Untitled
7 sec ago
eXe window close patch
Diff | 20 sec ago
Untitled
19 sec ago
Untitled
17 sec ago
Untitled
22 sec ago
Untitled
Java | 32 sec ago
buddypress forum -bp_profile_field_data( ‘field= … doesn’t w
By:
valuser
on
Jan 29th, 2013
| syntax:
None
| size: 0.19 KB | hits: 34 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
<?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>"; }?>
create a
new version
of this paste
RAW Paste Data
<?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>"; }?>