过滤图像HTML标记,包括标题短代码。
原型
apply_filters( 'image_add_caption_shortcode', string $shcode, string $html )
参数
$shcode
(string)
带有标题短代码的图像HTML标记。
$html
(string)
图像HTML标记。
源文件
路径:wp-admin/includes/media.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/image_add_caption_shortcode/