swift_gravatar_cache_filename
This filter can be used to override the default filename for cached gravatar files. Default is the md5 hash of the URL.
Parameters
$filename
string contains the cached gravatar filename. Filename is the md5 hash of the original gravatar URL by default
$url
string, original gravatar URL
Return
string
Example
// add png extension to filename
add_filter('swift_gravatar_cache_filename', function($filename, $url){
return $filename . '.png';
}, 10, 2);