apply_filters( 'download_url_error_max_body_size', int $size )

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

Description

See also

Parameters

$size

(int) The maximum error response body size. Default 1 KB.

Source

File: wp-admin/includes/file.php

View on Trac

Changelog

Version Description
5.1.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/download_url_error_max_body_size