bp_get_activity_comment_user_link()
Return the author link for the activity comment currently being displayed.
Description
Return
(string) $user_link The URL of the activity comment author's profile.
Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_comment_user_link() {
$user_link = bp_core_get_user_domain( bp_get_activity_comment_user_id() );
/**
* Filters the author link for the activity comment currently being displayed.
*
* @since BuddyPress 1.5.0
*
* @param string $user_link Link for the author of the activity comment currently being displayed.
*/
return apply_filters( 'bp_activity_comment_user_link', $user_link );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.5.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.