bbp_allow_threaded_replies

Are threaded replies allowed.

Description

bbp_allow_threaded_replies( (int) $default = 0 ); 

Parameters (1)

0. $default — Optional. (int)
Bool Optional. Default value false

Usage

  1. if ( !function_exists( 'bbp_allow_threaded_replies' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/core/options.php'; 
  3.  
  4. // bool Optional. Default value false 
  5. $default = -1; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_allow_threaded_replies($default); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/core/options.php  
  1. function bbp_allow_threaded_replies( $default = 0 ) { 
  2. return (bool) apply_filters( '_bbp_allow_threaded_replies', (bool) get_option( '_bbp_allow_threaded_replies', $default ) );