bp_get_group_avatar_thumb( object|bool $group = false )

Return the group avatar thumbnail while in the groups loop.

Parameters Parameters


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

Default value: false

Top ↑

Return Return


Source Source

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

	function bp_get_group_avatar_thumb( $group = false ) {
		return bp_get_group_avatar( array(
			'type' => 'thumb',
			'id'   => ! empty( $group->id ) ? $group->id : false
		) );

Top ↑

Changelog Changelog

Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.