WpOrg\Requests\Response
Headers::getIterator()
Get an iterator for the data
Converts the internally stored values to a comma-separated string if there is more than one value for a key.
Метод класса: Headers{}
Хуков нет.
Возвращает
\ArrayIterator
.
Использование
$Headers = new Headers(); $Headers->getIterator();
Код Headers::getIterator() Headers::getIterator WP 6.6.2
public function getIterator() { return new FilteredIterator($this->data, [$this, 'flatten']); }