bp_post_author_avatar()
Output a post author’s avatar.
Contents
Description Description
Not currently used in BuddyPress.
Source Source
File: bp-core/bp-core-template.php
function bp_post_author_avatar() {
global $post;
echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array(
'item_id' => $post->post_author,
'type' => 'thumb',
'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), bp_core_get_user_displayname( $post->post_author ) )
) ) );
}