bbp_is_topic_open( int $topic_id )
Is the topic open to new replies?
Description
Parameters
- $topic_id
-
(Optional) Topic id
Return
(bool) True if open, false if closed.
Source
File: bp-forums/topics/template.php
function bbp_is_topic_open( $topic_id = 0 ) { return !bbp_is_topic_closed( $topic_id ); }
Changelog
Version | Description |
---|---|
bbPress (r2727) | 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.