bbp_topic_class( int $topic_id, $classes = array() )
Output the row class of a topic
Description
Parameters
- $topic_id
-
(Optional) Topic id
-
(Optional) Extra classes you can pass when calling this function
Source
File: bp-forums/topics/template.php
function bbp_topic_class( $topic_id = 0, $classes = array() ) {
echo bbp_get_topic_class( $topic_id, $classes );
}
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.