SimplePie::set_item_limit()publicWP 1.0

Set the limit for items returned per-feed with multifeeds

Method of the class: SimplePie{}

No Hooks.

Return

null. Nothing (null).

Usage

$SimplePie = new SimplePie();
$SimplePie->set_item_limit( $limit );
$limit(int)
The maximum number of items to return.

SimplePie::set_item_limit() code WP 6.5.2

public function set_item_limit($limit = 0)
{
	$this->item_limit = (int) $limit;
}