bp_get_group_member_link()
Get the anchor tag of the group member profile url with link of displayed name.
Description
Return
(mixed|void)
Source
File: bp-groups/bp-groups-template.php
function bp_get_group_member_link() {
global $members_template;
/**
* Filters the group member HTML link for the current user in the loop.
*
* @since BuddyPress 1.0.0
*
* @param string $value HTML link for the current user.
*/
return apply_filters( 'bp_get_group_member_link', '<a href="' . bp_core_get_user_domain( $members_template->member->user_id, $members_template->member->user_nicename, $members_template->member->user_login ) . '">' . $members_template->member->display_name . '</a>' );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.0.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.