/*add avatar to WordPress default list*/
add_filter( ‘avatar_defaults’, ‘newgravatar’ );
function newgravatar ($avatar_defaults) {
$myavatar = get_bloginfo(’template_directory’) . ‘/images/name-your-gravatar-image.jpg’;
$avatar_defaults[$myavatar] = “administrator”;
return $avatar_defaults;
}


avatar to default list