Codex Home → Developer Resources → Function Examples → bp_core_get_userlink()
bp_core_get_userlink()
Description
Returns a HTML formatted link for a user with the user』s full name as the link text.
Top
Usage
Top
Parameters
$user_id
(integer) User ID to check.
$no_anchor
(bool) Disable URL and HTML and just return full name. Default false.
$just_link
(bool) Disable full name and HTML and just return the URL text. Default false.
Returns
Returns false when there was no match found, and the link text (string) based on passed parameters.
Top
Example
Top
Source File
bp_core_get_userlink() is located in bp-members/bp-members-functions.php