bbp_the_forum()

Loads up the current forum in the loop

Description

Return

(object) Forum information

Source

File: bp-forums/forums/template.php

function bbp_the_forum() {
	return bbpress()->forum_query->the_post();
}

Changelog

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