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

In this article

Filters the updated attachment meta data.

Parameters

$dataarray
Array of updated attachment meta data.
$attachment_idint
Attachment post ID.

Source

$data = apply_filters( 'wp_update_attachment_metadata', $data, $post->ID );

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

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