WordPress at Your Fingertips
filter is not described

the_post_thumbnail_caption filter-hook . WP 4.6.0

Filters the displayed post thumbnail caption.

Usage

add_filter( 'the_post_thumbnail_caption', 'filter_function_name_2638' );
function filter_function_name_2638( $caption ){
	// filter...

	return $caption;
}
$caption(string)
Caption for the given attachment.

Changelog

Since 4.6.0 Introduced.

Where the hook is called

the_post_thumbnail_caption()
the_post_thumbnail_caption
wp-includes/post-thumbnail-template.php 289
echo apply_filters( 'the_post_thumbnail_caption', get_the_post_thumbnail_caption( $post ) );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 190
add_filter( 'the_post_thumbnail_caption', 'wptexturize' );
wp-includes/default-filters.php 191
add_filter( 'the_post_thumbnail_caption', 'convert_smilies' );
wp-includes/default-filters.php 192
add_filter( 'the_post_thumbnail_caption', 'convert_chars' );