Description
Filters the meta data for the new image created by editing an existing image.
Occurrences
Filename | Line Number |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php | 756 |
Parameters
Type | Name | Description |
---|---|---|
array | $new_image_meta | Meta data for the new image. |
int | $new_attachment_id | Attachment post ID for the new image. |
int | $attachment_id | Attachment post ID for the edited (parent) image. |
PHP Doc
/**
* Filters the meta data for the new image created by editing an existing image.
*
* @since 5.5.0
*
* @param array $new_image_meta Meta data for the new image.
* @param int $new_attachment_id Attachment post ID for the new image.
* @param int $attachment_id Attachment post ID for the edited (parent) image.
*/