bp_get_displayed_user_mentionname()
Get the mentionname for the displayed user.
Description
Return
(string) Mentionname for the displayed user, if available.
Source
File: bp-activity/bp-activity-template.php
function bp_get_displayed_user_mentionname() {
/**
* Filters the mentionname for the displayed user.
*
* @since BuddyPress 1.9.0
*
* @param string $value The mentionanme for the displayed user.
*/
return apply_filters( 'bp_get_displayed_user_mentionname', bp_activity_get_user_mentionname( bp_displayed_user_id() ) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.9.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.