bb_option

Echoes the requested bbPress option by calling bb_get_option().

Description

bb_option( (string) $option ); 

Parameters (1)

0. $option (string)
The option to be echoed

Usage

  1. if ( !function_exists( 'bb_option' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-meta.php'; 
  3.  
  4. // The option to be echoed 
  5. $option = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bb_option($option); 
  9.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-meta.php  
  1. function bb_option( $option )