2729*2730* @param int$width Width of the caption in pixels. To remove this inline style,2731*return zero.2732* @param array$atts Attributes of the caption shortcode.2733* @param string$content The image element, possibly wrapped in a hyperlink.2734*/2735$caption_width=apply_filters('img_caption_shortcode_width',$width,$atts,$content);27362737$style='';27382739if($caption_width){2740$style='style="width: '.(int)$caption_width.'px" ';2741}
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.