A WordPress-centric search engine for devs and theme authors



download_url_error_max_body_size ›

Since5.0.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
See:
  • download_url()
Defined at:
Codex:

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





Related Hooks:

Source

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