bp_loggedin_user_username()

Output the username of the logged-in user.

Description

Source

File: bp-members/bp-members-template.php

function bp_loggedin_user_username() {
	echo bp_get_loggedin_user_username();
}

Changelog

Changelog
Version Description
BuddyPress 1.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.