Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Testing to see if current page is profile page


Burt Adsit
Participant

@burtadsit

Not sure exactly what “if current page is profile page” means. You can check if the current user is in *their* profile with bp_is_home(). It returns true if the user is viewing their own profile. You can find out what user is being displayed with $bp->displayed_user->id

Skip to toolbar