Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How do I use Buddypress xprofile fields inside bbPress?

@modemlooper

Moderator

`$user_id = $bp->displayed_user->id;

$location = xprofile_get_field_data( ‘Location’, $user_id ) ;
echo ‘Location: ‘ . $location;

if that doesnt work try getting the_author_ID(); or get_post_author_id();`

Skip to toolbar