bb_current_user_info

The BuddyPress bb current user info function.

Description

bb_current_user_info( (string) $key = '' ); 

Parameters (1)

0. $key — Optional. (string) => ''
The key.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-template.php  
  1. function bb_current_user_info( $key = '' ) { 
  2. if ( !$key ) 
  3. return;