WordPress at a glance
function is not described

SimplePie::set_curl_options() public WP 1.0

Set custom curl options

This allows you to change default curl options

{} It's a method of the class: SimplePie{}

No Hooks.


null. Nothing.


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


Since 1.0 Introduced.
Since 1.0 Beta 3

Code of SimplePie::set_curl_options() WP 5.7.2

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