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 all references
$response_size = apply_filters( 'download_url_error_max_body_size', KB_IN_BYTES );
Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |