bb_is_admin

The BuddyPress bb is admin function.

Description

bb_is_admin(); 

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-template.php  
  1. function bb_is_admin() { 
  2. if ( defined('BB_IS_ADMIN') ) 
  3. return BB_IS_ADMIN
  4. return false;