bp_activity_avatar( array|string $args = '' )

Output the avatar of the user that performed the action.

Description

See also

Parameters

$args

(array|string) (Optional) See bp_get_activity_avatar() for description.

Default value: ''

Source

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

function bp_activity_avatar( $args = '' ) {
	echo bp_get_activity_avatar( $args );
}

Changelog

Changelog
Version Description
BuddyPress 1.1.0 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.