Used By
| Used By | Description |
|---|---|
| wp-includes/media.php: img_caption_shortcode() | Builds the Caption shortcode output. |
Filters the default caption shortcode output.
If the filtered output isn’t empty, it will be used instead of generating the default caption template.
(string) The caption output. Default empty.
(array) Attributes of the caption shortcode.
(string) The image element, possibly wrapped in a hyperlink.
File: wp-includes/media.php
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/img_caption_shortcode