Requests_Utility_FilteredIterator::current()

Get the current item’s value after filtering


Return Return

(string)


Top ↑

Source Source

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

	public function current() {
		$value = parent::current();

		if (is_callable($this->callback)) {
			$value = call_user_func($this->callback, $value);
		}

		return $value;
	}

Top ↑

User Contributed Notes User Contributed Notes

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