bp_user_firstname()

Output the calculated first name of the displayed or logged-in user.

Description

Source

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

function bp_user_firstname() {
	echo bp_get_user_firstname();
}

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.