bbp_get_views

Get the registered views.

Description

(array) bbp_get_views(); 

Does nothing much other than return the variable

Returns (array)

Views


Usage

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

Defined (1)

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

/includes/core/functions.php  
  1. function bbp_get_views() { 
  2. returnbbpress)->views;