BP_Messages_Thread_Template::next_message()

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-thread-template.php

	public function next_message() {
		$this->current_message++;
		$this->message = $this->thread->messages[ $this->current_message ];

		return $this->message;
	}


Top ↑

User Contributed Notes User Contributed Notes

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