wp_get_attachment_caption – filter

Filters the attachment caption. 

Parameters

.
( 4.6.0 ) . .
$caption
( string ) Caption for the given attachment. . . .
( int ) $post_id Attachment ID. . . .
API Letters: ,,,

Implementers