bbp_thread_replies()

Are replies threaded

Description

Parameters

$default

(bool) (Optional) Default value true

Return

(bool) Are replies threaded?

Source

File: bp-forums/core/options.php

function bbp_thread_replies() {
	$depth  = bbp_thread_replies_depth();
	$allow  = bbp_allow_threaded_replies();
	$retval = (bool) ( ( $depth >= 2 ) && ( true === $allow ) );

	return (bool) apply_filters( 'bbp_thread_replies', $retval, $depth, $allow );
}

Changelog

Changelog
Version Description
bbPress (r4944) 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.