pp_lc_add_avatar_default_option

The BP Local Avatars pp lc add avatar default option function.

Description

pp_lc_add_avatar_default_option( $avatar_defaults ); 

Parameters (1)

0. $avatar_defaults
The avatar defaults.

Usage

  1. if ( !function_exists( 'pp_lc_add_avatar_default_option' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-local-avatars/pp-local-avatars.php'; 
  3.  
  4. // The avatar defaults. 
  5. $avatar_defaults = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = pp_lc_add_avatar_default_option($avatar_defaults); 
  9.  

Defined (1)

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

/pp-local-avatars.php  
  1. function pp_lc_add_avatar_default_option( $avatar_defaults ) { 
  2.  
  3. $avatar_defaults['identicon_local'] = __('BuddyPress Identicon (Generated and Stored Locally)'); 
  4.  
  5. return $avatar_defaults;