How to prevent a specific users's profile photo (gravatar) from showing on the frontend to other users?
Yes, I need a code to do that. Plugin is not an option, I need to use theme's functions.php file.
Maybe this filter would help:
apply_filters( 'get_avatar', string $avatar, mixed $id_or_email, int $size, string $default, string $alt, array $args )
I have the user ID.