Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Help using $bp->displayed_user->id


Jan M.
Participant

@jotem

You’ll have to declare $bp as a global variable in your function, so you can access it in your function.

global $bp;

echo $bp->displayed_user->id; //Should work fine

Skip to toolbar