BP_Messages_Box_Template::rewind_threads()

Rewind the threads and reset thread index.

Description

Source

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

	public function rewind_threads() {
		$this->current_thread = -1;
		if ( $this->thread_count > 0 ) {
			$this->thread = $this->threads[0];
		}
	}

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.