bp_get_group_avatar_mini( object|bool $group = false )

Return the miniature group avatar thumbnail while in the groups loop.

Description

Parameters

$group

(Optional) Group object. Default: current group in loop.

Default value: false

Return

(string)

Source

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

	function bp_get_group_avatar_mini( $group = false ) {
		return bp_get_group_avatar( array(
			'type'   => 'thumb',
			'width'  => 30,
			'height' => 30,
			'id'     => ! empty( $group->id ) ? $group->id : false
		) );
	}

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.