post_thumbnail_meta_box() – Display post thumbnail meta box.

You appear to be a bot. Output may be restricted

Description

Displays post thumbnail meta box.

Usage

post_thumbnail_meta_box( $post );

Parameters

$post
( WP_Post ) required – Current post object.

Returns

void

Source

File name: wordpress/wp-admin/includes/meta-boxes.php
Lines:

1 to 4 of 4
function post_thumbnail_meta_box( $post ) {
  $thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true );
  echo _wp_post_thumbnail_html( $thumbnail_id, $post->ID );
}
 

 View on GitHub View on Trac