bbp_forum_class( int $forum_id,  $classes = array() )

Output the row class of a forum

Description

Parameters

$forum_id

(int) (Optional) Forum ID.

(array) (Optional) Extra classes you can pass when calling this function

Source

File: bp-forums/forums/template.php

function bbp_forum_class( $forum_id = 0, $classes = array() ) {
	echo bbp_get_forum_class( $forum_id, $classes );
}

Changelog

Changelog
Version Description
bbPress (r2667) 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.