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
Return Return
(bool) Whether the forum is open or not
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 ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |