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_733', 10, 3 );
function filter_function_name_733( $content, $post_id, $thumbnail_id ){
	// filter...

	return $content;
}
$content(string)
Admin post thumbnail HTML markup.
$post_id(int)
Post ID.
$thumbnail_id(int/null)
Thumbnail attachment ID, or null if there isn't one.

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()
admin_post_thumbnail_html
wp-admin/includes/post.php 1546
return apply_filters( 'admin_post_thumbnail_html', $content, $post->ID, $thumbnail_id );

Where the hook is used (in WP core)

Использование не найдено.