wp_http_validate_url()
Validate a URL for safe use in the HTTP API.
Validate a URL for safe use in the HTTP API.
A wrapper for PHP’s parse_url() function that handles consistency in the return values across PHP versions.
Performs an HTTP request using the GET method and returns its response.
Performs an HTTP request using the HEAD method and returns its response.
Performs an HTTP request using the POST method and returns its response.
Performs an HTTP request and returns its response.
Retrieve only the body from the raw response.
Retrieve a single cookie by name from the raw response.
Retrieve a single cookie’s value by name from the raw response.
Retrieve only the cookies from the raw response.