http_request_reject_unsafe_urls

http_request_reject_unsafe_urls

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('http_request_reject_unsafe_urls') is found 1 times:

  • /wp-includes/class-wp-http.php line 202
    			 *
    			 * @param bool   $pass_url Whether to pass URLs through wp_http_validate_url(). Default false.
    			 * @param string $url      The request URL.
    			 */
    			'reject_unsafe_urls'  => apply_filters( 'http_request_reject_unsafe_urls', false, $url ),
    			'blocking'            => true,
    			'headers'             => array(),
    			'cookies'             => array(),
    			'body'                => null,
    			'compress'            => false,
    			'decompress'          => true,