Filters the attachment fields to edit.
$form_fieldsarray$postWP_Postwp-admin/includes/media.php:1527get_attachment_fields_to_edit()wp-admin/includes/media.php:1955get_compat_media_markup() * * @since 2.5.0 * * @param array $form_fields An array of attachment form fields. * @param WP_Post $post The WP_Post attachment object. */ $form_fields = apply_filters( 'attachment_fields_to_edit', $form_fields, $post ); return $form_fields;} /** * Retrieves HTML for media items of post gallery.Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.