wp_http_supports

Advertisement

Summery Summery

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

Syntax Syntax

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

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

(bool)

Source Source

File: wp-includes/http.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.