Tribe__Data::next()
Move forward to next element
Return
(void) Any returned value is ignored.
Source
File: src/Tribe/Data.php
public function next() {
$keys = array_keys( $this->data );
if ( isset( $keys[ ++ $this->index ] ) ) {
return $this->data[ $keys[ $this->index ] ];
}
return false;
}
Changelog
| Version | Description |
|---|---|
| 4.11.0 | Introduced. |