Filter hook 'wp_get_attachment_id3_keys'

in WP Core File wp-includes/media.php at line 3214

Description

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

Occurrences

Filename Line Number
wp-includes/media.php 3214

Parameters

Type Name Description
array $fields Key/value pairs of field keys to labels.
WP_Post $attachment Attachment object.
string $context The context. Accepts 'edit', 'display'. Default 'display'.

PHP Doc

/**
	 * Filters the editable list of keys to look up data from an attachment's metadata.
	 *
	 * @since 3.9.0
	 *
	 * @param array   $fields     Key/value pairs of field keys to labels.
	 * @param WP_Post $attachment Attachment object.
	 * @param string  $context    The context. Accepts 'edit', 'display'. Default 'display'.
	 */