SimplePie::force_fsockopen()publicWP 1.0

Force SimplePie to use fsockopen() instead of cURL

Method of the class: SimplePie{}

No Hooks.

Return

null. Nothing (null).

Usage

$SimplePie = new SimplePie();
$SimplePie->force_fsockopen( $enable );
$enable(true|false)
Force fsockopen() to be used
Default: false

Changelog

Since 1.0 Introduced.
Since 1.0 Beta 3

SimplePie::force_fsockopen() code WP 6.5.4

public function force_fsockopen($enable = false)
{
	$this->force_fsockopen = (bool) $enable;
}