Summery Summery
Filters the default caption shortcode output.
Syntax Syntax
Description Description
If the filtered output isn’t empty, it will be used instead of generating the default caption template.
Parameters Parameters
- $output
-
The caption output. Default empty.
- $attr
-
Attributes of the caption shortcode.
- $content
-
The image element, possibly wrapped in a hyperlink.
Source Source
File: wp-includes/media.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |