apply_filters( 'attachment_fields_to_edit', array $form_fields, WP_Post $post )

Filters the attachment fields to edit.


Parameters

$form_fields

(array) An array of attachment form fields.

$post

(WP_Post) The WP_Post attachment object.


Source

File: wp-admin/includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.5.0 Introduced.