apply_filters( 'bp_get_blog_avatar', string $avatar, int $blog_id, array $r )

Filters a blog’s avatar.

Description

Parameters

$avatar

(string) Formatted HTML <img> element, or raw avatar URL based on $html arg.

$blog_id

(int) ID of the blog whose avatar is being displayed.

$r

(array) Array of arguments used when fetching avatar.

Source

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

Changelog

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