apply_filters( ‘download_url_error_max_body_size’, int $size )

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

Description

See also

Parameters

$sizeint
The maximum error response body size. Default 1 KB.

Source

$response_size = apply_filters( 'download_url_error_max_body_size', KB_IN_BYTES );

Changelog

VersionDescription
5.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.