WordPress at a glance
function is not described

SimplePie::force_fsockopen() public WP 1.0

Force SimplePie to use fsockopen() instead of cURL

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 1.0 Introduced.
Since 1.0 Beta 3

Code of SimplePie::force_fsockopen() WP 5.7.2

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