wphooks.info - async_upload_{$type}

async_upload_{$type}

The hook occurs in the following file:

wp-admin/async-upload.php:
107
108
109
110
111
112
113
114
115
116
117
118
	/**
	 * Filters 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 );
}