Add Option to Default Avatars List

Tell me what you think

If you’re not thrilled with the provided options for a default avatar, you can use this to quickly add your own image to the list.

add_filter( 'avatar_defaults', 'addavatar' );
function addavatar ( $avatar_defaults ) {
    $avatar_defaults[ '' ] = 'Placekitten';
    return $avatar_defaults;

Created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.