bbp_thread_replies_depth( int $default = 2 )

Maximum reply thread depth


Description Description


Parameters Parameters

$default

(Optional) Thread replies depth

Default value: 2


Top ↑

Return Return

(int) Thread replies depth


Top ↑

Source Source

File: includes/core/options.php

function bbp_thread_replies_depth( $default = 2 ) {

	// Filter & return
	return (int) apply_filters( 'bbp_thread_replies_depth', (int) get_option( '_bbp_thread_replies_depth', $default ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.