* @uses bbp_get_forum_id() To get the forum id
* @uses get_post_status() To get the forum's status
* @uses apply_filters() Calls 'bbp_get_forum_status' with the status
* and forum id
* @return string Status of forum
*/
function bbp_get_forum_status( $forum_id = 0 ) {
$forum_id = bbp_get_forum_id( $forum_id );
return apply_filters( 'bbp_get_forum_status', get_post_meta( $forum_id, '_bbp_status', true ), $forum_id );
}
/**
* Output the visibility of the forum
*
* @since bbPress (r2997)
*
* @param int $forum_id Optional. Forum id
* @uses bbp_get_forum_visibility() To get the forum visibility
*/