apply_filters( 'image_add_caption_shortcode', string $shcode, string $html )

Filters the image HTML markup including the caption shortcode.


Parameters

$shcode

The image HTML markup with caption shortcode.

$html

The image HTML markup.


Source

File: wp-admin/includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.6.0 Introduced.