bp_comment_author_avatar()

Output a comment author’s avatar.


Description Description

Not currently used in BuddyPress.


Source Source

File: bp-core/bp-core-template.php

function bp_comment_author_avatar() {
	global $comment;

	echo apply_filters( 'bp_comment_author_avatar', bp_core_fetch_avatar( array(
		'item_id' => $comment->user_id,
		'type'    => 'thumb',
		'alt'     => sprintf( __( 'Profile photo of %s', 'buddypress' ), bp_core_get_user_displayname( $comment->user_id ) )
	) ) );
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.