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 all references
echo apply_filters( 'the_post_thumbnail_caption', get_the_post_thumbnail_caption( $post ) );
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |