Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [resolved] display member avatar giving his id


r-a-y
Keymaster

@r-a-y

That’s the WP version of grabbing the avatar.

You can also try the BuddyPress way:
`echo bp_core_fetch_avatar( array( ‘item_id’ => $id, ‘width’ => $width, ‘height’ => $height ) );`

A list of full parameters can be found by looking at the source:
https://trac.buddypress.org/browser/tags/1.2.8/bp-core/bp-core-avatars.php#L50

Skip to toolbar