WordPress at Your Fingertips
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_3913', 10, 3 );
function filter_function_name_3913( $content, $post_id, $thumbnail_id ){
	// filter...

	return $content;
Admin post thumbnail HTML markup.
Post ID.
Thumbnail attachment ID, or null if there isn't one.


Since 2.9.0 Introduced.
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 1616
return apply_filters( 'admin_post_thumbnail_html', $content, $post->ID, $thumbnail_id );

Where in WP core the hook is used WordPress

Usage not found.