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



wp_update_attachment_metadata › WordPress过滤钩子

Since2.1.0
已弃用n/a
› apply_filters( 'wp_update_attachment_metadata', $data, $post->ID )
参数: (2)
  • () data Array of updated attachment meta data.
    Required: Yes
  • () attachment_id Attachment post ID.
    Required: Yes
定义在:
文档:

Filters the updated attachment meta data.





源码

$data = apply_filters( 'wp_update_attachment_metadata', $data, $post->ID );