Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_edited_image_metadata ›

Seit5.5.0
Veraltetn/v
apply_filters( 'wp_edited_image_metadata', $new_image_meta, $new_attachment_id, $attachment_id )
Parameter: (3)
  • (array) $new_image_meta Meta data for the new image.
    Erforderlich: Ja
  • (int) $new_attachment_id Attachment post ID for the new image.
    Erforderlich: Ja
  • (int) $attachment_id Attachment post ID for the edited (parent) image.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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