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

Create a new iterator


Description Description


Parameters Parameters

$data

(array) (Required)

$callback

(callable) (Required) Callback to be called on each value


Top ↑

Source Source

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

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

		$this->callback = $callback;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.