Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: logged in user’s avatar


Erwin Gerrits
Participant

@egerrits

I got it using this:

$avatar_file = get_usermeta( $bp->loggedin_user->id, “bp_core_avatar_v1” );

$url = $bp->root_domain . ‘/’ . $avatar_file;

but is there a more elegant way?

Skip to toolbar