WordPress at a glance
filter is not described

post_thumbnail_html filter-hook . WP 2.9.0

Filters the post thumbnail HTML.

Usage

add_filter( 'post_thumbnail_html', 'filter_function_name_4608', 10, 5 );
function filter_function_name_4608( $html, $post_id, $post_thumbnail_id, $size, $attr ){
	// filter...

	return $html;
}
$html(string)
The post thumbnail HTML.
$post_id(int)
The post ID.
$post_thumbnail_id(int)
The post thumbnail ID.
$size(string|int[])
Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
$attr(string)
Query string of attributes.

Changelog

Since 2.9.0 Introduced.

Where the hook is called

get_the_post_thumbnail()
post_thumbnail_html
wp-includes/post-thumbnail-template.php 209
return apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr );

Where in WP core the hook is used WordPress

Usage not found.