_fetch_remote_file

Advertisement

Summery Summery

Retrieve URL headers and content using WP HTTP Request API.

Syntax Syntax

_fetch_remote_file( string $url, array $headers = "" )

Parameters Parameters

$url

(string) (Required) URL to retrieve

$headers

(array) (Optional) Headers to send to the URL.

Default value: ""

Return Return

(Snoopy) style response

Source Source

File: wp-includes/rss.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply

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