Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Getting the current logged in user ID?


Peter Anselmo
Participant

@peteranselmo

Is it tied to any action hook? PHP reads in all the BP code before executing much of it. If your function is called too early, the BP global won’t have been populated yet. That may or may not be the problem, but worth experimenting with.

Skip to toolbar