Add hook in wp_ajax_save_attachment for additional attachment fields
|Reported by:||griffinjt||Owned by:|
As of now, wp_ajax_save_attachment only looks for the attachment title, caption, description and alt text fields. Without a hook, there is no way to extend the new media system properly and take advantage of the save functionality.
There should be a hook provided at the end of this function (before the JSON response is sent back) that allows devs to update any additional attachment fields that have been rendered by extending the media.view.Attachment.Details subview.
Change History (22)
- Milestone Future Release deleted
- Resolution set to wontfix
- Status changed from new to closed