[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-includes/ -> class-wp-simplepie-file.php (summary)

Feed API: WP_SimplePie_File class

File Size: 73 lines (2 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_SimplePie_File:: (1 method):
  __construct()


Class: WP_SimplePie_File  - X-Ref

Core class for fetching remote files and reading local files with SimplePie.

__construct( $url, $timeout = 10, $redirects = 5, $headers = null, $useragent = null, $force_fsockopen = false )   X-Ref
Constructor.

param: string       $url             Remote file URL.
param: integer      $timeout         Optional. How long the connection should stay open in seconds.
param: integer      $redirects       Optional. The number of allowed redirects. Default 5.
param: string|array $headers         Optional. Array or string of headers to send with the request.
param: string       $useragent       Optional. User-agent value sent. Default null.
param: boolean      $force_fsockopen Optional. Whether to force opening internet or unix domain socket



Generated: Wed Oct 16 08:20:01 2019 Cross-referenced by PHPXref 0.7