SimplePie::set_curl_options()publicWP 1.0

Set custom curl options

This allows you to change default curl options

Method of the class: SimplePie{}

No Hooks.

Return

null. Nothing (null).

Usage

$SimplePie = new SimplePie();
$SimplePie->set_curl_options( $curl_options );
$curl_options(array)
Curl options to add to default settings
Default: array()

Changelog

Since 1.0 Introduced.
Since 1.0 Beta 3

SimplePie::set_curl_options() code WP 6.5.2

public function set_curl_options(array $curl_options = array())
{
	$this->curl_options = $curl_options;
}