img_caption_shortcode

img_caption_shortcode

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('img_caption_shortcode') is found 1 times:

  • /wp-includes/media.php line 2467
    	 * @param string $output  The caption output. Default empty.
    	 * @param array  $attr    Attributes of the caption shortcode.
    	 * @param string $content The image element, possibly wrapped in a hyperlink.
    	 */
    	$output = apply_filters( 'img_caption_shortcode', '', $attr, $content );
    
    	if ( ! empty( $output ) ) {
    		return $output;
    	}
    
    	$atts = shortcode_atts(