wp_get_attachment_id3_keys

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$fields

Key/value pairs of field keys to labels.

$attachment

Attachment object.

$context

The context. Accepts 'edit', 'display'. Default 'display'.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.

Advertisement

Leave a Reply