wp_generate_attachment_metadata

过滤钩子


apply_filters( 'wp_generate_attachment_metadata', $image_meta, $attachment_id, 'update' )
定义位置
  • wp-admin/includes/image.php
    , line 181
引入
n/a
弃用

This filter is documented in wp-admin/includes/image.php

$image_meta = apply_filters( 'wp_generate_attachment_metadata', $image_meta, $attachment_id, 'update' );