bbp_view_title

Output the view name aka title.

Description

bbp_view_title( (string) $view = '' ); 

Parameters (1)

0. $view — Optional. (string) => ''
View id

Usage

  1. if ( !function_exists( 'bbp_view_title' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/common/template.php'; 
  3.  
  4. // Optional. View id 
  5. $view = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_view_title($view); 
  9.  

Defined (1)

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

/includes/common/template.php  
  1. function bbp_view_title( $view = '' ) { 
  2. echo bbp_get_view_title( $view );