BP_Messages_Thread_Template::rewind_messages()
Rewind the messages and reset message index.
Contents
Description Description
Source Source
File: bp-messages/classes/class-bp-messages-thread-template.php
public function rewind_messages() { $this->current_message = -1; if ( $this->message_count > 0 ) { $this->message = $this->thread->messages[0]; } }