wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_edited_image_metadata › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_edited_image_metadata', $new_image_meta, $new_attachment_id, $attachment_id )
Parameters: (3)
  • (array) $new_image_meta Meta data for the new image.
    Required: Yes
  • (int) $new_attachment_id Attachment post ID for the new image.
    Required: Yes
  • (int) $attachment_id Attachment post ID for the edited (parent) image.
    Required: Yes
Defined at:
Codex:

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





Source

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