bp_blog_class( array $classes = array() )

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

Description

Parameters

$classes

(Optional) Array of custom classes.

Default value: array()

Source

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

function bp_blog_class( $classes = array() ) {
	echo bp_get_blog_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.