Filters whether to pass URLs through wp_http_validate_url() in an HTTP request.
$pass_urlbool
$urlstring
'reject_unsafe_urls' => apply_filters( 'http_request_reject_unsafe_urls', false, $url ),
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/http_request_reject_unsafe_urls