SimplePie::enable_exceptions()
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() SimplePie::enable exceptions WP 6.1.1
public function enable_exceptions($enable = true) { $this->enable_exceptions = $enable; }