Sorry for not getting back to you sooner. A filter needs to return the modified content. So in your case:
$foo = get_the_post_thumbnail();
return $foo;
Sorry for not getting back to you sooner. A filter needs to return the modified content. So in your case:
$foo = get_the_post_thumbnail();
return $foo;