+
+ /**
+ * Filter the returned ID of an uploaded attachment.
+ *
+ * The dynamic portion of the hook name, $type, refers to the attachment type,
+ * such as 'image', 'audio', 'video', 'file', etc.
+ *
+ * @since 2.5.0
+ *
+ * @param int $id Uploaded attachment ID.
+ */
+ echo apply_filters( "async_upload_{$type}", $id );