You can use the post_thumbnail_html
filter.
This filter is applied in the return of the get_the_post_thumbnail
function.
apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr );
You can use the post_thumbnail_html
filter.
This filter is applied in the return of the get_the_post_thumbnail
function.
apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr );