bbp_thread_replies_depth( int $default = 6 )
Maximum reply thread depth
Description
Parameters
- $default
-
(int) (Optional) Thread replies depth
Default value: 6
Return
(int) Thread replies depth
Source
File: bp-forums/core/options.php
function bbp_thread_replies_depth( $default = 6 ) { return (int) apply_filters( 'bbp_thread_replies_depth', (int) get_option( '_bbp_thread_replies_depth', $default ) ); }
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.