apply_filters( 'download_url_error_max_body_size', int $size )

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


Description

Top ↑

See also


Top ↑

Parameters

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

Top ↑

Source

File: wp-admin/includes/file.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.1.0 Introduced.

Top ↑

User Contributed Notes

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