Hook name: attachment_fields_to_edit
Hook type: filter
Sourcefile:
Description: Filters the returned ID of an uploaded attachment. The dynamic portion of the hook name, `$type`, refers to the attachment type.
Possible hook names include:
– `async_upload_audio`
– `async_upload_file`
– `async_upload_image`
– `async_upload_video`
Parameters:
Deprecated?: No