evolve_comment_avatar

The evolve evolve comment avatar function.

Description

evolve_comment_avatar(); 

Usage

  1. if ( !function_exists( 'evolve_comment_avatar' ) ) { 
  2. require_once '/library/functions/pluggable.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = evolve_comment_avatar(); 
  7.  

Defined (1)

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

/library/functions/pluggable.php  
  1. function evolve_comment_avatar() { 
  2. global $default; 
  3. $gravatar_email = get_comment_author_email(); 
  4. $author = get_comment_author(); 
  5. $output = get_avatar($gravatar_email, 45, $default, $author); 
  6.  
  7. if (get_option('show_avatars')) { // Avatars enabled? 
  8. return apply_filters('evolve_comment_avatar', (string) $output); // Available filter: evolve_comment_avatar