apply_filters( 'the_post_thumbnail_caption', string $caption )

Filters the displayed post thumbnail caption.


Parameters

$caption string
Caption for the given attachment.

Top ↑

Source

File: wp-includes/post-thumbnail-template.php. View all references

echo apply_filters( 'the_post_thumbnail_caption', get_the_post_thumbnail_caption( $post ) );


Top ↑

Changelog

Changelog
Version Description
4.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.