image_add_caption_shortcode

image_add_caption_shortcode

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

See hook in core

Displaying hooks found in version: wordpress-6.2

apply_filters('image_add_caption_shortcode') is found 1 times:

  • /wp-admin/includes/media.php line 249
    	 *
    	 * @param string $shcode The image HTML markup with caption shortcode.
    	 * @param string $html   The image HTML markup.
    	 */
    	return apply_filters( 'image_add_caption_shortcode', $shcode, $html );
    }
    
    /**
     * Private preg_replace callback used in image_add_caption().
     *
     * @access private