wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_edited_image_metadata › Hooks de Filtros WordPress

Desde5.5.0
Obsoleton/a
apply_filters( 'wp_edited_image_metadata', $new_image_meta, $new_attachment_id, $attachment_id )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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