Filters the attachment caption.
$captionstring
$post_idint
return apply_filters( 'wp_get_attachment_caption', $caption, $post->ID );
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_attachment_caption