* @param int $forum_id Optional. Forum id
* @uses bbp_get_forum_id() To get the forum id
* @uses get_the_title() To get the forum title
* @uses apply_filters() Calls 'bbp_get_forum_title' with the title
* @return string Title of forum
*/
function bbp_get_forum_title( $forum_id = 0 ) {
$forum_id = bbp_get_forum_id( $forum_id );
return apply_filters( 'bbp_get_forum_title', get_the_title( $forum_id ) );
}
/**
* Output the forum archive title
*
* @since bbPress (r3249)
*
* @param string $title Default text to use as title
*/
function bbp_forum_archive_title( $title = '' ) {