wpseek.com
A WordPress-centric search engine for devs and theme authors



post_thumbnail_meta_box › WordPress Function

Since2.9.0
Deprecatedn/a
post_thumbnail_meta_box ( $post )
Parameters:
  • (WP_Post) $post Current post object.
    Required: Yes
Defined at:
Codex:

Displays post thumbnail meta box.



Source

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 );
}