SimplePie::set_stupidly_fast()publicWP 1.0

Set options to make SimplePie as fast as possible.

Forgoes a substantial amount of data sanitization in favor of speed. This turns SimplePie into a less clever parser of feeds.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$SimplePie = new SimplePie();
$SimplePie->set_stupidly_fast( $set );
$set(true|false)
Whether to set them or not.
По умолчанию: false

Код SimplePie::set_stupidly_fast() WP 6.5.2

public function set_stupidly_fast($set = false)
{
	if ($set)
	{
		$this->enable_order_by_date(false);
		$this->remove_div(false);
		$this->strip_comments(false);
		$this->strip_htmltags(false);
		$this->strip_attributes(false);
		$this->add_attributes(false);
		$this->set_image_handler(false);
		$this->set_https_domains(array());
	}
}