Advertisement

wp_parse_url

A wrapper for PHP’s parse_url() function that handles consistency in the return values across PHP versions.

allowed_http_request_hosts

Whitelists allowed redirect hosts for safe HTTP requests as well.

Advertisement

send_origin_headers

Send Access-Control-Allow-Origin and related headers if the current request is from an allowed origin.

Advertisement

get_http_origin

Get the HTTP Origin of the current request.

wp_http_supports

Determines if there is an HTTP Transport that can process this request.

Advertisement