SimplePie::enable_exceptions()publicWP 1.0

Enable throwing exceptions

Метод класса: SimplePie{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$SimplePie = new SimplePie();
$SimplePie->enable_exceptions( $enable );
$enable(true|false)
Should we throw exceptions, or use the old-style error property?
По умолчанию: true

Код SimplePie::enable_exceptions() WP 6.1.1

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