apply_filters( ‘image_add_caption_shortcode’, string $shcode, string $html )

In this article

Filters the image HTML markup including the caption shortcode.

Parameters

$shcodestring
The image HTML markup with caption shortcode.
$htmlstring
The image HTML markup.

Source

return apply_filters( 'image_add_caption_shortcode', $shcode, $html );

Changelog

VersionDescription
2.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.