bbp_topic_author_avatar( int $topic_id, int $size = 40 )

Output the author avatar of the topic

Description

Parameters

$topic_id

(Optional) Topic id

$size

(Optional) Avatar size. Defaults to 40

Default value: 40

Source

File: bp-forums/topics/template.php

function bbp_topic_author_avatar( $topic_id = 0, $size = 40 ) {
	echo bbp_get_topic_author_avatar( $topic_id, $size );
}

Changelog

Changelog
Version Description
bbPress (r2590) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.