_fetch_remote_file


_fetch_remote_file ( $url, $headers = "" )

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

Description

Retrieve URL headers and content using WP HTTP Request API.

Related Functions

wp_safe_remote_get, _deprecated_file, remove_filter, kses_remove_filters, wp_safe_remote_head

Top Google Results

User discussions

wpseek mobile