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.
public function getIterator() {
return new FilteredIterator($this->data, [$this, 'flatten']);
}
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-response-headers/getiterator