wp_http_supports

SummerySummery

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

Syntax

wp_http_supports( array $capabilities = array(), string $url = null )

ParametersParameters

$capabilities

(array) (Optional) Array of capabilities to test or a wp_remote_request() $args array.

Default value: array()

$url

(string) (Optional) If given, will check if the URL requires SSL and adds that requirement to the capabilities array.

Default value: null

ReturnReturn

(bool)

SourceSource

File: wp-includes/http.php


			

ChangelogChangelog

Changelog
Version Description
3.2.0 Introduced.
Scroll to Top