post_thumbnail image (tag)

delete_post_thumbnail()

Remove a post thumbnail.

get_post_thumbnail_id()

Gets the ID of the current (or specified) post thumbnail (featured image). Gets ID of WP attachment (image).

get_the_post_thumbnail()

Gets the IMG tag of the post thumbnail (if exists).

get_the_post_thumbnail_caption()

Gets the post thumbnail caption (description).

get_the_post_thumbnail_url()

Gets the thumbnail URL specified for the post. If there is no post thumbnail, it returns false.

has_post_thumbnail()

Check if post has an image attached.

set_post_thumbnail()

Set a post thumbnail.

set_post_thumbnail_size()

Registers an image size for the post thumbnail.

the_post_thumbnail()

Display the post thumbnail.

the_post_thumbnail_caption()

Displays the post thumbnail caption.

the_post_thumbnail_url()

Display the post thumbnail URL.