img_caption_shortcode_width

最后更新于:2021-11-27 01:01:31

apply_filters( ‘img_caption_shortcode_width’, int $width, array $atts, string $content )

Filters the width of an image’s caption.

参数

$width

(int)
Width of the caption in pixels. To remove this inline style, return zero.

$atts

(array)
Attributes of the caption shortcode.

$content

(string)
The image element, possibly wrapped in a hyperlink.

源文件

文件: gc-includes/media.php

View on Trac