wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_edited_image_metadata › WordPress过滤钩子

Since5.5.0
已弃用n/a
apply_filters( 'wp_edited_image_metadata', $new_image_meta, $new_attachment_id, $attachment_id )
参数: (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
定义在:
文档:

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





源码

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