Core Function
View Source on Trac ↗ image_attachment_fields_to_edit()
image_attachment_fields_to_edit( mixed $form_fields, mixed $post ) Retrieves the image attachment fields to edit form fields.
Parameters 2 required
| Name / Type | Description |
|---|---|
| array | $form_fields Required |
| object | $post Required |
Return Value
(array)
array
Function Information
Since Version
2.5.0
Source File
wp-admin/includes/media.php
Advertisement