apply_filters( "bp_get_blog_avatar_{$blog_id}" )

In future BuddyPress versions you will be able to set the avatar for a blog.


Right now you can use a filter with the ID of the blog to change it if you wish. By default it will return the avatar for the primary blog admin.

This filter is deprecated as of BuddyPress 1.5 and may be removed in a future version. Use the ‘bp_get_blog_avatar’ filter instead.


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


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.