_wp_post_thumbnail_html


_wp_post_thumbnail_html ( $thumbnail_id = null, $post = null )

Parameters:
  • (int) $thumbnail_id ID of the attachment used for thumbnail
  • (mixed) $post 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, _wp_post_thumbnail_class_filter, get_the_post_thumbnail_url, has_post_thumbnail

Top Google Results

User discussions

wpseek mobile