Summery Summery

Magic method handler

Syntax Syntax

SimplePie::__call( string $method, array $args )

Parameters Parameters


(string) (Required) Method name


(array) (Required) Arguments to the method

Return Return


Source Source

File: wp-includes/class-simplepie.php

	 * This is better suited for {@link for()} loops, whereas
	 * {@see get_items()} is better suited for
	 * {@link foreach()} loops.
	 * @see get_item_quantity()
	 * @since Beta 2
	 * @param int $key The item that you want to return. Remember that arrays begin with 0, not 1
	 * @return SimplePie_Item|null
	public function get_item($key = 0)
		$items = $this->get_items();
		if (isset($items[$key]))
			return $items[$key];

		return null;



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.