Tribe__Data::next()

Move forward to next element


Return

(void) Any returned value is ignored.


Top ↑

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;
	}

Top ↑

Changelog

Changelog
Version Description
4.11.0 Introduced.