WordPress never makes any HTTP requests for gravatars, it just generates URLs to them.
You don’t really need to override function completely. You can filter get_avatar
hook and return different URL if email matches user with custom avatar set.
WordPress never makes any HTTP requests for gravatars, it just generates URLs to them.
You don’t really need to override function completely. You can filter get_avatar
hook and return different URL if email matches user with custom avatar set.