bb_get_views

Views.

Description

bb_get_views(); 

Usage

  1. if ( !function_exists( 'bb_get_views' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-core.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bb_get_views(); 
  7.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-core.php  
  1. function bb_get_views() { 
  2. global $bb_views; 
  3.  
  4. $views = array(); 
  5. foreach ( (array) $bb_views as $view => $array ) 
  6. $views[$view] = $array['title']; 
  7.  
  8. return $views;