Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | apply_filters | 6744 | /** * Filters the attachment caption. * * @since 4.6.0 * * @param string $caption Caption for the given attachment. * @param int $post_id Attachment ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $caption | Caption for the given attachment. |
int | $post_id | Attachment ID. |