_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) html
Defined at:

Description

Output HTML for the post thumbnail meta-box.

Related Functions

wp_ajax_get_post_thumbnail_html, the_post_thumbnail_url, get_the_post_thumbnail_url, the_post_thumbnail, set_post_thumbnail

Top Google Results

User discussions

wpseek mobile