BP_Messages_Box_Template::next_thread()

Set up the next member and iterate index.


Return Return

(object) The next member to iterate over.


Source Source

File: bp-messages/classes/class-bp-messages-box-template.php

	public function next_thread() {
		$this->current_thread++;
		$this->thread = $this->threads[$this->current_thread];

		return $this->thread;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.