BP_Blogs_Template::rewind_blogs()

Rewind the blogs and reset blog index.

Description

Source

File: bp-blogs/classes/class-bp-blogs-template.php

	public function rewind_blogs() {
		$this->current_blog = -1;
		if ( $this->blog_count > 0 ) {
			$this->blog = $this->blogs[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.