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

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


Description Description


Parameters Parameters

$fields

(array) Key/value pairs of field keys to labels.

$attachment

(WP_Post) Attachment object.

$context

(string) The context. Accepts 'edit', 'display'. Default 'display'.


Top ↑

Source Source

File: wp-includes/media.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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