wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_edited_image_metadata › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
apply_filters( 'wp_edited_image_metadata', $new_image_meta, $new_attachment_id, $attachment_id )
Parametri: (3)
  • (array) $new_image_meta Meta data for the new image.
    Richiesto:
  • (int) $new_attachment_id Attachment post ID for the new image.
    Richiesto:
  • (int) $attachment_id Attachment post ID for the edited (parent) image.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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