_wp_post_thumbnail_html
_wp_post_thumbnail_html ( $thumbnail_id = null, $post = null )
Parameters:- (int) thumbnail_id ID of the attachment used for thumbnail
- (int|WP_Post) post Optional. The post ID or object associated with the thumbnail, defaults to global $post.
Returns:- (string) The post thumbnail HTML.
Defined at: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
Returns HTML for the post thumbnail meta box.