bbp_is_forum_open( int $forum_id, bool $check_ancestors = true )

Is the forum open?


Description Description


Parameters Parameters

$forum_id

(Optional) Forum id

$check_ancestors

(Optional) Check if the ancestors are open (only if they're a category)

Default value: true


Top ↑

Return Return

(bool) Whether the forum is open or not


Top ↑

Source Source

File: includes/forums/template.php

function bbp_is_forum_open( $forum_id = 0, $check_ancestors = true ) {
	return ! bbp_is_forum_closed( $forum_id, $check_ancestors );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.