apply_filters( ‘wp_get_attachment_id3_keys’, array $fields, WP_Post $attachment, string $context )

In this article

Filters the editable list of keys to look up data from an attachment’s metadata.

Parameters

$fieldsarray
Key/value pairs of field keys to labels.
$attachmentWP_Post
Attachment object.
$contextstring
The context. Accepts 'edit', 'display'. Default 'display'.

Source

return apply_filters( 'wp_get_attachment_id3_keys', $fields, $attachment, $context );

Changelog

VersionDescription
3.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.