bp_group_class( array $classes = array() )

Output the row class of the current group in the loop.

Description

Parameters

$classes

(Optional) Array of custom classes.

Default value: array()

Source

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

function bp_group_class( $classes = array() ) {
	echo bp_get_group_class( $classes );
}

Changelog

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