SimplePie::set_stupidly_fast()
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.
Method of the class: SimplePie{}
No Hooks.
Return
null
. Nothing (null).
Usage
$SimplePie = new SimplePie(); $SimplePie->set_stupidly_fast( $set );
- $set(true|false)
- Whether to set them or not.
Default: false
SimplePie::set_stupidly_fast() SimplePie::set stupidly fast code 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()); } }