$media_item_args
$media_item_args : array
The get_media_item_args array
Class MLA (Media Library Assistant) Modal Ajax contains handlers for the WordPress 3.5+ Media Manager
mla_attachment_fields_to_edit_filter( $form_fields, $post) : array
Add/change custom fields to the Edit Media screen and Modal Window
Called from /wp-admin/includes/media.php, function get_compat_media_markup(); If "get_media_item_args"['in_modal'] => false ) its the Edit Media screen. If "get_media_item_args"['in_modal'] => true ) its the Media Manager Modal Window. For the Modal Window, $form_fields contains all the "compat-attachment-fields" including the taxonomies, which we want to enhance. Declared public because it is a filter.
$form_fields | ||
$post |
updated descriptors for the "compat-attachment-fields"