Hey Christian,
Thank you for the inquiry.
The filter should return a string containing the width and height attribute of the image. Example.
add_filter("avf_logo_dimension", function($dimension) {
$dimension = "height='200' width='600'";
return $dimension;
}, 10, 1);
Best regards,
Ismael