_fetch_remote_file


_fetch_remote_file ( $url, $headers = "" )

Parameters:
  • (string) url URL to retrieve
  • (array) headers Optional. Headers to send to the URL. Default empty string.
Returns:
  • (Snoopy) style response
Defined at:

Description

Retrieve URL headers and content using WP HTTP Request API.

Related Functions

wp_safe_remote_get, remove_filter, _deprecated_file, kses_remove_filters, wp_safe_remote_head

Top Google Results

User discussions

wpseek mobile