Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 3015 | /** * 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'. */ |
Hook Parameters
Parameter 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'. |