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

post_type_supports, wp_image_editor_supports, wp_timezone_supported, wp_list_sort, wp_html_split

Top Google Results

User discussions

wpseek mobile