bbp_is_forum_open( int $forum_id )
Is the forum open?
Description
Parameters
- $forum_id
-
(Optional) Forum id
Return
(bool) Whether the forum is open or not
Source
File: bp-forums/forums/template.php
function bbp_is_forum_open( $forum_id = 0 ) {
return !bbp_is_forum_closed( $forum_id );
}
Changelog
| Version | Description |
|---|---|
| bbPress (r2746) | 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.