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:
  • (array) Key/value pairs of field keys to labels.
Defined at:

Description

Returns useful keys to use to lookup data from an attachment's stored metadata.

Related Functions

wp_get_attachment_link, wp_get_attachment_image, wp_get_attachment_image_src, wp_get_attachment_url, wp_attachment_is

Top Google Results

User discussions

wpseek mobile