download_url_error_max_body_size WordPress Filter Hook

The download_url_error_max_body_size hook is used to modify the maximum body size for download URLs.

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 on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.