Requests_Utility_FilteredIterator::current()publicWP 1.0

Get the current item's value after filtering

Метод класса: Requests_Utility_FilteredIterator{}

Хуков нет.

Возвращает

Строку.

Использование

$Requests_Utility_FilteredIterator = new Requests_Utility_FilteredIterator();
$Requests_Utility_FilteredIterator->current();

Код Requests_Utility_FilteredIterator::current() WP 6.1.1

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

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

	return $value;
}