On this page
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.
Parameters
$fieldsarray-
Key/value pairs of field keys to labels.
$attachmentWP_Post-
Attachment object.
$contextstring-
The context. Accepts
'edit','display'. Default'display'.
Source
File: wp-includes/media.php. View all references
return apply_filters( 'wp_get_attachment_id3_keys', $fields, $attachment, $context );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_attachment_id3_keys() wp-includes/media.php | Returns useful keys to use to lookup data from an attachment’s stored metadata. |
Changelog
| Version | Description |
|---|---|
| 3.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_attachment_id3_keys