WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/ wp post thumbnail html

Description

Output HTML for the post thumbnail meta-box.

Usage

<?php _wp_post_thumbnail_html$thumbnail_id ); ?>

Parameters

$thumbnail_id
(int) (optional) ID of the attachment used for thumbnail
Default: null

Return Values

(string) 
html

Change Log

Since: 2.9

Source File

_wp_post_thumbnail_html() is located in wp-admin/includes/post.php