WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about http_request_reject_unsafe_urls

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-http.php apply_filters 202 /**
* Filters whether to pass URLs through wp_http_validate_url() in an HTTP request.
*
* @since 3.6.0
* @since 5.1.0 The `$url` parameter was added.
*
* @param bool $pass_url Whether to pass URLs through wp_http_validate_url(). Default false.
* @param string $url The request URL.
*/

Hook Parameters

Parameter Type Name Description
bool $pass_url Whether to pass URLs through wp_http_validate_url(). Default false.
string $url The request URL.