bp_activity_avatar( array|string $args = '' )
Output the avatar of the user that performed the action.
Description
See also
- bp_get_activity_avatar(): for description of arguments.
Parameters
- $args
-
(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
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.