WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/wp http supports

Contents

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