Core Function
View Source on Trac ↗ the_post_thumbnail_caption()
the_post_thumbnail_caption( mixed $post = null ) Displays the post thumbnail caption.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (int | | WP_Post | null) $post Optional. Post ID or WP_Post object. Default is global `$post`. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
4.6.0
Source File
wp-includes/post-thumbnail-template.php
Advertisement