SimplePie::enable_exceptions()publicWP 1.0

Enable throwing exceptions

Method of the class: SimplePie{}

No Hooks.

Return

null. Nothing (null).

Usage

$SimplePie = new SimplePie();
$SimplePie->enable_exceptions( $enable );
$enable(true|false)
Should we throw exceptions, or use the old-style error property?
Default: true

SimplePie::enable_exceptions() code WP 6.5.2

public function enable_exceptions($enable = true)
{
	$this->enable_exceptions = $enable;
}