bbp_view_url

Output the view url.

Description

bbp_view_url( (bool) $view = false ); 

Parameters (1)

0. $view — Optional. (bool) => false
View id

Usage

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

Defined (1)

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

/includes/common/template.php  
  1. function bbp_view_url( $view = false ) { 
  2. echo esc_url( bbp_get_view_url( $view ) );