[ Index ]

PHP Cross Reference of WordPress

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.

since: 2.8.0
since: 3.2.0 Updated to use a PHP5 constructor.
param: string       $url             Remote file URL.
param: int          $timeout         Optional. How long the connection should stay open in seconds.
param: int          $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: bool         $force_fsockopen Optional. Whether to force opening internet or unix domain socket



Generated: Thu Dec 3 01:00:04 2020 Cross-referenced by PHPXref 0.7.1