wpseek.com
A WordPress-centric search engine for devs and theme authors



download_url_error_max_body_size › WordPress Filter Hooks

Since5.1.0
Deprecatedn/a
apply_filters( 'download_url_error_max_body_size', KB_IN_BYTES )
Parameters:
  • (int) $size The maximum error response body size. Default 1 KB.
    Required: Yes
Defined at:
Codex:

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



Related Functions: download_url, wp_max_upload_size


Related Hooks:

Source

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