wp_http_supports


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

Parameters:
  • (array) capabilities Array of capabilities to test or a wp_remote_request() $args array.
  • (string) url Optional. If given, will check if the URL requires SSL and adds that requirement to the capabilities array.
Returns:
  • (bool)
Defined at:

Description

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

Related Functions

wp_is_https_supported, wp_cache_supports, post_type_supports, wp_timezone_supported, wp_image_editor_supports

Top Google Results

User discussions

wpseek mobile