WordPress at a glance
filter is not described

download_url_error_max_body_size filter-hook . WP 5.1.0

Filters the maximum error response body size in download_url().

Usage

add_filter( 'download_url_error_max_body_size', 'filter_function_name_58' );
function filter_function_name_58( $size ){
	// filter...

	return $size;
}
$size(int)
The maximum error response body size.
Default: 1 KB

Where the hook is called

download_url()
download_url_error_max_body_size
wp-admin/includes/file.php 1019
$response_size = apply_filters( 'download_url_error_max_body_size', KB_IN_BYTES );

Where the hook is used (in WP core)

Does not used.