This function has been deprecated.

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

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 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


Return

(bool)


Source

File: wp-includes/http.php

function wp_http_supports( $capabilities = array(), $url = null ) {
	return true;
}

Changelog

Changelog
Version Description
1.0.0 This function has been deprecated.
WP-3.2.0 Introduced. This function has been deprecated.