WordPress at a glance
filter is not described

post_thumbnail_html filter-hook . WP 2.9.0

Filters the post thumbnail HTML.


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

	return $html;
The post thumbnail HTML.
The post ID.
The post thumbnail ID.
The post thumbnail size. Image size or array of width and height values (in that order).
Default: 'post-thumbnail'
Query string of attributes.


Since 2.9.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used

Usage not found!