Core Function
View Source on Trac ↗ _fetch_remote_file()
_fetch_remote_file( mixed $url, mixed $headers = "" ) Retrieve URL headers and content using WP HTTP Request API.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $url string | URL to retrieve Required |
| $headers array | Optional. Headers to send to the URL. Default empty string. |
Return Value
(Snoopy)
style response
Function Information
Since Version
1.5.0
Source File
wp-includes/rss.php
Advertisement