BP_Messages_Box_Template::rewind_threads()

Rewind the threads and reset thread index.


Description Description


Source 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];
		}
	}

Top ↑

User Contributed Notes User Contributed Notes

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