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



http_request_reject_unsafe_urls › WordPress Filter Hooks

Since5.1.0
Deprecatedn/a
apply_filters( 'http_request_reject_unsafe_urls', false, $url )
Parameters: (2)
  • (bool) $pass_url Whether to pass URLs through wp_http_validate_url(). Default false.
    Required: Yes
  • (string) $url The request URL.
    Required: Yes
Defined at:
Codex:

Filters whether to pass URLs through wp_http_validate_url() in an HTTP request.





Source

'reject_unsafe_urls'  => apply_filters( 'http_request_reject_unsafe_urls', false, $url ),