WordPress at a glance
filter is not described

admin_post_thumbnail_html filter-hook . WP 2.9.0

Filters the admin post thumbnail HTML markup to return.

Usage

add_filter( 'admin_post_thumbnail_html', 'filter_function_name_1359', 10, 3 );
function filter_function_name_1359( $content, $post_id, $thumbnail_id ){
	// filter...

	return $content;
}
$content(string)
Admin post thumbnail HTML markup.
$post_id(int)
Post ID.
$thumbnail_id(int)
Thumbnail ID.

Notes

  • Since 3.5.0 Added the $post_id parameter.
  • Since 4.6.0 Added the $thumbnail_id parameter.

Where the hook is called

_wp_post_thumbnail_html()
wp-admin/includes/post.php 1469
return apply_filters( 'admin_post_thumbnail_html', $content, $post->ID, $thumbnail_id );

Where the hook is used (in WP core)

Does not used.