wpseek.com
WordPress开发者和主题制作者的搜索引擎



the_post_thumbnail_caption › WordPress过滤钩子

Since4.6.0
已弃用n/a
apply_filters( 'the_post_thumbnail_caption', get_the_post_thumbnail_caption( $post )
参数:
  • (string) $caption Caption for the given attachment.
    Required: Yes
定义在:
文档:

Filters the displayed post thumbnail caption.





源码

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