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_idRetrieves the post thumbnail ID.
get_the_post_thumbnailRetrieves the post thumbnail.
get_the_post_thumbnail_captionReturns the post thumbnail caption.
get_the_post_thumbnail_urlReturns the post thumbnail URL.
has_post_thumbnailDetermines whether a post has an image attached.
the_post_thumbnailDisplays the post thumbnail.
the_post_thumbnail_captionDisplays the post thumbnail caption.
the_post_thumbnail_urlDisplays the post thumbnail URL.
update_post_thumbnail_cacheUpdates cache for thumbnails in the current loop.