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.

Return

null. Nothing.

Usage

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

Changelog

Since 1.0 Introduced.
Since 1.0 Beta 3

Code of SimplePie::set_curl_options() WP 5.7.2

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