bb_get_profile_info_keys

The BuddyPress bb get profile info keys function.

Description

bb_get_profile_info_keys( (null) $context = null ); 

Parameters (1)

0. $context — Optional. (null) => null
The context.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-core.php  
  1. function bb_get_profile_info_keys( $context = null ) { 
  2. 'first_name' => array(0, __('First name')),  
  3. 'last_name' => array(0, __('Last name')),  
  4. 'display_name' => array(1, __('Display name as')),  
  5. 'user_email' => array(1, __('Email'), 'email'),  
  6. 'user_url' => array(0, __('Website'), 'url'),  
  7. 'from' => array(0, __('Location')),  
  8. 'occ' => array(0, __('Occupation'), 'role'),  
  9. 'interest' => array(0, __('Interests')),  
  10. ), $context );