Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp http supports

This page redirects to an external site: https://developer.wordpress.org/reference/functions/wp_http_supports/

Description

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

Parameters

$capabilities
(array) (optional) Array of capabilities to test or a wp_remote_request() $args array.
Default: array()
$url
(string) (optional) Optional. If given, will check if the URL requires SSL and adds that requirement to the capabilities array.
Default: null

Return Values

(boolean) 

Change Log

Since: 3.2

Source File

wp_http_supports() is located in wp-includes/http.php