过滤可编辑的键列表以从附件的元数据中查找数据。
原型
apply_filters( 'wp_get_attachment_id3_keys', array $fields, WP_Post $attachment, string $context )
参数
$fields
(array)
标签的字段键的键/值对。
$attachment
(WP_Post)
附件对象。
$context
(string)
上下文。接受’编辑’,‘显示’。默认’显示’。
源文件
路径:wp-includes/media.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_get_attachment_id3_keys/