A WordPress-centric search engine for devs and theme authors

wp-includes/post-thumbnail-template.php › WordPress File

WordPress Post Thumbnail Template Functions.

Function Short description
get_post_thumbnail_idRetrieve post thumbnail ID.
get_the_post_thumbnailRetrieve the post thumbnail.
get_the_post_thumbnail_captionReturns the post thumbnail caption.
get_the_post_thumbnail_urlReturn the post thumbnail URL.
has_post_thumbnailDetermines whether a post has an image attached.
the_post_thumbnailDisplay the post thumbnail.
the_post_thumbnail_captionDisplays the post thumbnail caption.
the_post_thumbnail_urlDisplay the post thumbnail URL.
update_post_thumbnail_cacheUpdate cache for thumbnails in the current loop.