Hi Ari,
really dig your plugin, great work!
I tried to specify a different fallback image / default avatar and used
add_filter('get_local_gravatars_fallback_url', 'custom_local_fallback_gravatar_image');
for this but am not seeing any results…
My callback function basically is this:
function custom_local_fallback_gravatar_image($url) {
$url = '/resources/assets/svg/logo-icon.svg';
return $url;
}
Am I doing something wrong? Is the
apply_filters( 'get_local_gravatars_fallback_url', '', $this->remote_url );
set up correctly? There seems to be no value that can be filtered (second parameter)?
Sorry, I’d need some documentation here ??
]]>