bbp_is_forum_closed

bbp_is_forum_closed

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_is_forum_closed') is found 1 times:

  • /includes/forums/template.php line 1539
    	// 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)