Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Quick Question – Username variable?


Burt Adsit
Participant

@burtadsit

Howdy.

$bp['loggedin_userid']

Or something else from here : /mu-plugins/bp-core.php

Never leave home without your globals. Don’t forget to declare your intentions inside of a function:

function myhandydandyfunction () {
global $bp; (Andy reminded us of that recently)

Skip to toolbar