BP_Messages_Thread_Template::next_message()
Set up the next member and iterate index.
Description
Return
(object) The next member to iterate over.
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; }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.