[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Feed API: WP_SimplePie_File class

File Size: 108 lines (3 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.

This uses Core's HTTP API to make requests, which gives plugins the ability
to hook into the process.

__construct( $url, $timeout = 10, $redirects = 5, $headers = null, $useragent = null, $force_fsockopen = false )   X-Ref
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 : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref