2575*2576* @param int$width Width of the caption in pixels. To remove this inline style,2577*return zero.2578* @param array$atts Attributes of the caption shortcode.2579* @param string$content The image element, possibly wrapped in a hyperlink.2580*/2581$caption_width=apply_filters('img_caption_shortcode_width',$width,$atts,$content);25822583$style='';25842585if($caption_width){2586$style='style="width: '.(int)$caption_width.'px" ';2587}
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.