apply_filters( 'bp_get_group_avatar', string $avatar, array $r )

Filters the group avatar while in the groups loop.

Description

Parameters

$avatar

(string) HTML image element holding the group avatar.

$r

(array) Array of parsed arguments for the group avatar.

Source

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

Changelog

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