wp_get_attachment_id3_keys
wp_get_attachment_id3_keys ( $attachment, $context = 'display' )
Parameters:- (WP_Post) attachment The current attachment, provided for context.
- (string) context Optional. The context. Accepts 'edit', 'display'. Default 'display'.
Returns:- (string[]) Key/value pairs of field keys to labels.
Defined at: - Introduced in WordPress: 3.9.0
- Deprecated in WordPress: —
Description
Returns useful keys to use to lookup data from an attachment's stored metadata.