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.


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;
Admin post thumbnail HTML markup.
Post ID.
Thumbnail ID.


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

Where the hook is called

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.