bbp_is_forum_closed
bbp_is_forum_closed
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_is_forum_closed') is found 1 times:
- /includes/forums/template.php line 153915351536153715381539154015411542154315441545
// Check if the forum or one of it's ancestors is closed
$retval
= bbp_is_forum_status(
$forum_id
, bbp_get_closed_status_id(),
$check_ancestors
,
'OR'
);
// Filter & return
return
(bool) apply_filters(
'bbp_is_forum_closed'
, (bool)
$retval
,
$forum_id
,
$check_ancestors
);
}
/**
* Check
if
the forum status is a specific one, also maybe checking ancestors
*
* @since 2.6.0 bbPress (r5499)