bp_get_displayed_user_mentionname()
Get the mentionname for the displayed user.
Description Description
Return Return
(string) Mentionname for the displayed user, if available.
Source Source
File: bp-activity/bp-activity-template.php
function bp_get_displayed_user_mentionname() {
/**
* Filters the mentionname for the displayed user.
*
* @since 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 Changelog
| Version | Description |
|---|---|
| 1.9.0 | Introduced. |