get_the_post_thumbnail_caption
get_the_post_thumbnail_caption ( $post = null )
Parameters:- (int|WP_Post) post Optional. Post ID or WP_Post object. Default is global `$post`.
Returns:- (string) Post thumbnail caption.
Defined at: - Introduced in WordPress: 4.6.0
- Deprecated in WordPress: —
Description
Returns the post thumbnail caption.