Articole: Plugin-uri WordPress


Custom Avatar in WordPress

Autor:  |  31 ianuarie 2012

add_filter( 'avatar_defaults', 'mmn_avatar' );
function mmn_avatar ($avatar_defaults) {
$mmnavatar = get_bloginfo('template_directory') . '/images/custom-avatar.png';
$avatar_defaults[$mmnavatar] = "MMN";
return $avatar_defaults;
}