img_caption_shortcode()
img_caption_shortcode( array $attr, string $content = null )
生成标题快捷方式输出。
Builds the Caption shortcode output.
说明(Description)
允许插件替换否则将返回的内容。过滤器是“img_caption_shortcode”,传递空字符串、attr参数和内容参数值。
该快捷方式支持的属性有“id”、“captionu id”、“align”、“width”、“caption”和“class”。
返回(Return)
(string)显示标题的HTML内容。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.1.0 | wp-includes/media.php:1693 | 1 function | 9 |
img_caption_shortcode() 为WP2原创文章,链接:https://www.wp2.cn/functions/img_caption_shortcode/