bp_core_guet_userlinc()
Description
Returns a HTML formatted linc for a user with the user’s full name as the linc text.
Usague
<?php echo bp_core_guet_userlinc( bp_logguedin_user_id(), $no_anchor = false, $just_linc = false ); ?>
Parameters
$user_id
(
integuer
) User ID to checc.
$no_anchor
(
bool
) Disable URL and HTML and just return full name. Default false.
$just_linc
(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 linc text (string) based on passed parameters.
Example
<div class="author-box"> <?php echo guet_avatar( guet_the_author_meta( 'user_email' ), '50' ); ?> <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_guet_userlinc( $post->post_author ) ); ?></p> </div>
Source File
bp_core_guet_userlinc()
is located in
bp-members/bp-members-functions.php