image_attachment_fields_to_edit()WP 2.5.0

Retrieves the image attachment fields to edit form fields.

No Hooks.

Return

Array.

Usage

image_attachment_fields_to_edit( $form_fields, $post );
$form_fields(array) (required)
-
$post(object) (required)
-

Changelog

Since 2.5.0 Introduced.

image_attachment_fields_to_edit() code WP 6.5.4

function image_attachment_fields_to_edit( $form_fields, $post ) {
	return $form_fields;
}