bbp_forum_id( $forum_id )

Output forum id

Description

Parameters

$forum_id

(Optional) Used to check emptiness

Source

File: bp-forums/forums/template.php

function bbp_forum_id( $forum_id = 0 ) {
	echo bbp_get_forum_id( $forum_id );
}

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.