apply_filters( 'bp_get_loggedin_user_username', string $username )

Filters the username of the logged-in user.

Description

Parameters

$username

(string) Username of the logged-in user.

Source

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

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.