apply_filters( ‘wp_get_attachment_metadata’, array $data, int $attachment_id )

In this article

Filters the attachment meta data.

Parameters

$dataarray
Array of meta data for the given attachment.
$attachment_idint
Attachment post ID.

Source

return apply_filters( 'wp_get_attachment_metadata', $data, $attachment_id );

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

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