bbp_thread_replies_depth( int $default = 2 )
Maximum reply thread depth
Description Description
Parameters Parameters
- $default
-
(Optional) Thread replies depth
Default value: 2
Return Return
(int) Thread replies depth
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 ) ); }
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |