apply_filters( 'wp_edited_image_metadata', array $new_image_meta, int $new_attachment_id, int $attachment_id )

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


Parameters Parameters

$new_image_meta

(array) Meta data for the new image.

$new_attachment_id

(int) Attachment post ID for the new image.

$attachment_id

(int) Attachment post ID for the edited (parent) image.


Top ↑

Source Source

File: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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