Requests_Utility_FilteredIterator::__construct

Advertisement

Summery Summery

Create a new iterator

Syntax Syntax

Requests_Utility_FilteredIterator::__construct( array $data, callable $callback )

Parameters Parameters

$data

(Required)

$callback

(Required) Callback to be called on each value

Source Source

File: wp-includes/Requests/Utility/FilteredIterator.php

	public function __construct($data, $callback) {
		parent::__construct($data);

		$this->callback = $callback;
	}

Advertisement

Advertisement

Leave a Reply