SimplePie::set_stupidly_fast

Advertisement

Summery Summery

Set options to make SP as fast as possible

Syntax Syntax

SimplePie::set_stupidly_fast( bool $set = false )

Description Description

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

Parameters Parameters

$set

(Optional) Whether to set them or not

Default value: false

Source Source

File: wp-includes/class-simplepie.php

	 * Set which class SimplePie uses for `<media:credit>`
	 */
	public function set_credit_class($class = 'SimplePie_Credit')
	{
		return $this->registry->register('Credit', $class, true);
	}

	/**
	 * Set which class SimplePie uses for `<media:rating>`
	 */
	public function set_rating_class($class = 'SimplePie_Rating')
	{

Advertisement

Advertisement

Leave a Reply