apply_filters( ‘wp_edited_image_metadata’, array $new_image_meta, int $new_attachment_id, int $attachment_id )

In this article

Filters the meta data for the new image created by editing an existing image.

Parameters

$new_image_metaarray
Meta data for the new image.
$new_attachment_idint
Attachment post ID for the new image.
$attachment_idint
Attachment post ID for the edited (parent) image.

Source

$new_image_meta = apply_filters( 'wp_edited_image_metadata', $new_image_meta, $new_attachment_id, $attachment_id );

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

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