pp_lc_add_settings

The BP Local Avatars pp lc add settings function.

Description

pp_lc_add_settings(); 

Usage

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

Defined (1)

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

/pp-local-avatars.php  
  1. function pp_lc_add_settings() { 
  2.  
  3. $show = get_option('show_avatars'); 
  4.  
  5. if( $show ) { 
  6.  
  7.  
  8.  
  9. $default_avatar = get_option('avatar_default'); 
  10.  
  11. if( $default_avatar == 'identicon_local' ) 
  12.  
  13.