bp_mentioned_user_display_name( int|string|bool $user_id_or_username = false )

Output the mentioned user display name.

Description

See also

Parameters

$user_id_or_username

(Optional) See bp_get_mentioned_user_display_name().

Default value: false

Source

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

function bp_mentioned_user_display_name( $user_id_or_username = false ) {
	echo bp_get_mentioned_user_display_name( $user_id_or_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.