Can you tell me what exactly this code does:
function remove_all_wp_avatars() {
return "";
}
add_filter( 'pre_get_avatar', 'remove_all_wp_avatars', 10, 3 );
It removed the Gravatars, but my local avatar uploads still work. This is exactly what I want but I am uncomfortable to use something I don’t understand. I understand that this removes avatars by returning an empty string for, but why are the avatars uploaded locally over a plugin still working, even in the comments?