apply_filters( 'wp_get_attachment_caption', string $caption, int $post_id )

Filters the attachment caption.


Description Description


Parameters Parameters

$caption

(string) Caption for the given attachment.

$post_id

(int) Attachment ID.


Top ↑

Source Source

File: wp-includes/post.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.