apply_filters( 'wp_get_attachment_caption', string $caption , int $post_id )
Filters the attachment caption.
Parameters
- $caption
-
Caption for the given attachment.
- $post_id
-
Attachment ID.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
WP-4.6.0 | Introduced. |