Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php | apply_filters | 667 | /** * 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. */ |
Hook Parameters
Parameter 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. |