post_thumbnail_meta_box

Definition:
function post_thumbnail_meta_box() {}

Display post thumbnail meta box.

Source code

function post_thumbnail_meta_box() {

	global $post;

	$thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true );

	echo _wp_post_thumbnail_html( $thumbnail_id );

}

2591

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: