WordPress at a glance
filter is not described

async_upload_(type) filter-hook . WP 2.5.0

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.

Usage

add_filter( 'async_upload_(type)', 'filter_function_name_5806' );
function filter_function_name_5806( $id ){
	// filter...

	return $id;
}
$id(int)
Uploaded attachment ID.

Where the hook is called

In file: /wp-admin/async-upload.php
async_upload_(type)
wp-admin/async-upload.php 107
echo apply_filters( "async_upload_{$type}", $id );

Where the hook is used (in WP core)

wp-admin/includes/admin-filters.php 28
add_filter( 'async_upload_image', 'get_media_item', 10, 2 );
wp-admin/includes/admin-filters.php 29
add_filter( 'async_upload_audio', 'get_media_item', 10, 2 );
wp-admin/includes/admin-filters.php 30
add_filter( 'async_upload_video', 'get_media_item', 10, 2 );
wp-admin/includes/admin-filters.php 31
add_filter( 'async_upload_file', 'get_media_item', 10, 2 );