the_post_thumbnail_caption

SummerySummery

Filters the displayed post thumbnail caption.

Syntax

apply_filters( 'the_post_thumbnail_caption', string $caption )

ParametersParameters

$caption

(string) Caption for the given attachment.

SourceSource

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

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top