bp_get_group_avatar_thumb( object|bool $group = false )
Return the 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
970 971 972 973 974 975 | function bp_get_group_avatar_thumb( $group = false ) { return bp_get_group_avatar( array ( 'type' => 'thumb' , 'id' => ! empty ( $group ->id ) ? $group ->id : false ) ); } |
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.