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.7.2

apply_filters('http_request_reject_unsafe_urls') is found 1 times:

  • /wp-includes/class-wp-http.php line 216
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    *
     * @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,