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
-
(Optional) Array of capabilities to test or a wp_remote_request() $args array.
Default value: array()
- $url
-
(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
Version | Description |
---|---|
1.0.0 | This function has been deprecated. |
WP-3.2.0 | Introduced. This function has been deprecated. |