bp_docs_current_view

What's the current view?.

Description

bp_docs_current_view(); 

Usage

  1. if ( !function_exists( 'bp_docs_current_view' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-docs/includes/templatetags.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_docs_current_view(); 
  7.  

Defined (1)

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

/includes/templatetags.php  
  1. function bp_docs_current_view() { 
  2. global $bp; 
  3.  
  4. $view = !empty( $bp->bp_docs->current_view ) ? $bp->bp_docs->current_view : false; 
  5.  
  6. return apply_filters( 'bp_docs_current_view', $view );