W3cubDocs

/WordPress

apply_filters( 'the_post_thumbnail_caption', string $caption )

Filters the displayed post thumbnail caption.

Parameters

$caption

(string) Caption for the given attachment.

Source

File: wp-includes/post-thumbnail-template.php

View on Trac

Changelog

Version Description
4.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_post_thumbnail_caption