WordPress at a glance
filter is not described

wp_upload_bits filter-hook . WP 3.0.0

Filters whether to treat the upload bits as an error.

Passing a non-array to the filter will effectively short-circuit preparing the upload bits, returning that value instead.

Usage

add_filter( 'wp_upload_bits', 'filter_function_name_2877' );
function filter_function_name_2877( $upload_bits_error ){
	// filter...

	return $upload_bits_error;
}
$upload_bits_error(mixed)
An array of upload bits data, or a non-array error to return.

Where the hook is called

wp_upload_bits()
wp-includes/functions.php 2178
$upload_bits_error = apply_filters( 'wp_upload_bits', array( 'name' => $name, 'bits' => $bits, 'time' => $time ) );

Where the hook is used (in WP core)

wp-includes/ms-default-filters.php 69
add_filter( 'wp_upload_bits', 'upload_is_file_too_big' );