Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Buddypress Functions for profile url logged in user lots off globals
$bp->loggedin_user->id The user ID of the user.
$bp->loggedin_user->domain The profile page URL of the user
$bp->loggedin_user->fullname The display name of the user
$bp->displayed_user->id The user ID of the user.
$bp->displayed_user->domain The profile page URL of the user
$bp->displayed_user->fullname The display name of the user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment