media_post_single_attachment_fields_to_edit
media_post_single_attachment_fields_to_edit ( $form_fields, $post )
Parameters:- (array) form_fields An array of attachment form fields.
- (WP_Post) post The WP_Post attachment object.
Returns:- (array) Filtered attachment form fields.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Retrieves the post non-image attachment fields to edit form fields.