Advertisement

wp_parse_url

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

Advertisement

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

http_origin

Change the origin of an HTTP request.

get_http_origin

Get the HTTP Origin of the current request.